Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: reproducible Rust builds #1983

Open
wants to merge 390 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
390 commits
Select commit Hold shift + click to select a range
aca3ab5
refactor(sdk)!: rename crate rs-sdk to dash-sdk (#1811)
lklimek Apr 13, 2024
f553b70
feat(platform): query any element in Platform state (#1816)
QuantumExplorer Apr 15, 2024
56a4d88
fix(sdk): dapi client pool should separate platform and core clients …
lklimek Apr 16, 2024
fa72ffe
feat(platform)!: identity create replay protection (#1819)
QuantumExplorer Apr 16, 2024
36a7dcc
fix(platform)!: a withdrawal failure from core should never cause pla…
QuantumExplorer Apr 18, 2024
5d51032
chore: bump to dev.11 (#1822)
QuantumExplorer Apr 18, 2024
dde03fc
feat(drive-abci): configure dir to store rejected txs (#1823)
lklimek Apr 19, 2024
2a5aac3
chore(dapi): update autogenerated clients (#1827)
shumkov Apr 22, 2024
e71f92c
feat(platform)!: ability to transfer documents (#1826)
QuantumExplorer Apr 22, 2024
1c9c669
fix: add tls-webpki-roots to support tls on mobile (Android, iOS) (#1…
HashEngineering Apr 23, 2024
5404679
feat(dapi)!: split getStatus into two endpoints (#1812)
markin-io Apr 24, 2024
0b4a733
feat(sdk): add query for data contract history (#1787)
markin-io Apr 25, 2024
377087b
feat(platform)!: basic nft support (#1829)
QuantumExplorer Apr 25, 2024
122bbb9
feat(wallet-lib): optional sync of the account (#1830)
markin-io Apr 25, 2024
2a331c1
chore(dashmate): limit concurrent state transition checks (#1824)
shumkov Apr 26, 2024
cfdc7dd
feat!: getIdentitiesContractKeys endpoint (#1766)
markin-io Apr 27, 2024
6de96cd
chore(release): update changelog and bump version to 1.0.0-dev.12 (#1…
shumkov Apr 29, 2024
7e1e91c
feat: make purchase document public
pauldelucia Apr 29, 2024
c8262fa
Merge branch 'v1.0-dev' of https://github.com/dashpay/platform into v…
pauldelucia Apr 29, 2024
b47245f
feat: make document tranfers public
pauldelucia Apr 29, 2024
4ea0310
feat: make sdk document purchases public (#1832)
pauldelucia Apr 29, 2024
4566ad9
feat: make sdk files public
pauldelucia Apr 29, 2024
8e4fbde
Merge branch 'v1.0-dev' into feat/public-document-price-update
pauldelucia Apr 29, 2024
d71bfc4
feat: serialize for indexes and change error messages to strings
pauldelucia Apr 30, 2024
5612b31
fix(platform): npm audit security fix (#1836)
pshenmic May 5, 2024
8073c3f
feat(dashmate): handle docker pull error on images update (#1685)
pshenmic May 6, 2024
751ee6e
fix a test
pauldelucia May 7, 2024
02d4ad0
Merge branch 'v1.0-dev' into feat/public-document-price-update
pauldelucia May 7, 2024
c7a1b0f
feat: use all current identities for strategy test state transitions …
pauldelucia May 7, 2024
2b56263
refactor(platform)!: document creation/update/deletion does not refet…
QuantumExplorer May 7, 2024
63d06f6
refactor(sdk)!: don't return Arc in SdkBuilder (#1838)
lklimek May 7, 2024
ddc9c0c
Merge branch 'v1.0-dev' into feat/public-document-price-update
pauldelucia May 8, 2024
fbdfef5
feat: make start identities number u16
pauldelucia May 8, 2024
e624e02
chore: observability and security for HTTP gateway (#1825)
shumkov May 8, 2024
1185bc5
feat: put index serialization behind feature
pauldelucia May 9, 2024
76836ac
Merge branch 'v1.0-dev' into feat/public-document-price-update
pauldelucia May 9, 2024
26abf50
chore: updates needed for compatibility with nfts in the tui (#1833)
pauldelucia May 9, 2024
3c2c524
Merge remote-tracking branch 'origin' into feat/make-start-identities…
pauldelucia May 9, 2024
b34de38
feat: make start identities number u16 (#1841)
pauldelucia May 9, 2024
54623e2
chore(release): update changelog and bump version to 1.0.0-dev.13 (#1…
shumkov May 9, 2024
ed36e73
refactor: rename `DataContractConfig.validate_config_update` (#1843)
shumkov May 13, 2024
7e5b932
refactor: rename `validate` to `full_validation` (#1845)
shumkov May 13, 2024
e1a6191
feat(dashmate): check for DKG before stopping node (#1683)
pshenmic May 14, 2024
c04d6ac
fix!: data contract transition validation issues (#1835)
shumkov May 15, 2024
e80854c
chore(release): update changelog and bump version to 1.0.0-dev.14 (#1…
shumkov May 17, 2024
fc5c7b8
feat: implement mempool document counter in strategy tests
pauldelucia May 19, 2024
f15725b
change to 10 eligible identities and add warning if there are 0
pauldelucia May 20, 2024
3e163aa
docs(drive-abci): added some comments on the initial core height and …
QuantumExplorer May 21, 2024
74f552f
feat: implement mempool document counter in strategy tests (#1848)
pauldelucia May 21, 2024
48a1511
fix: select random identities for strategy documents
pauldelucia May 21, 2024
d7b4541
chore(drive): state transition observability (#1846)
shumkov May 22, 2024
46b8b3e
chore(release): update changelog and bump version to 1.0.0-dev.15 (#1…
shumkov May 22, 2024
afb16a8
fix: improve efficiency of identity random sampling
pauldelucia May 22, 2024
ff8e7c5
feat(dpp): random documents based on JSON schema (#1710)
fominok May 22, 2024
9e5d088
fix: only clone the eligible identities
pauldelucia May 22, 2024
fa37fab
Merge branch 'v1.0-dev' into fix/select-random-identities-for-strateg…
pauldelucia May 22, 2024
f85d9cb
feat: use all eligible identities and slightly more robust checking
pauldelucia May 22, 2024
4ae93ab
chore: chose capable identities for random documents
shumkov May 23, 2024
e81e699
fix(sdk)!: dapi-grpc generated files overwritten on conflicting featu…
lklimek May 23, 2024
a7e05eb
clean up
pauldelucia May 23, 2024
e091a64
handle panics
pauldelucia May 25, 2024
71c4c1e
use MempoolDocumentCounter type
pauldelucia May 25, 2024
d87f150
fix(sdk): invalid error returned when identity create fails (#1856)
lklimek May 28, 2024
4224881
fix: security vulnerabilities in NPM deps (#1860)
shumkov May 28, 2024
5caf216
chore(dapi)!: disable unnecessary for v1 endpoints (#1857)
shumkov May 28, 2024
449d30e
make MempoolDocumentCounter type not a reference
pauldelucia May 28, 2024
9542fee
Merge branch 'v1.0-dev' into fix/select-random-identities-for-strateg…
pauldelucia May 28, 2024
710d0ef
perf(dapi): use cached core height in streaming endpoints (#1865)
shumkov May 29, 2024
c79e8fa
perf(dapi): get many transactions at once (#1858)
shumkov May 29, 2024
bc5f55d
perf(dapi): cache `getBestBlockHash` endpoint (#1867)
shumkov May 30, 2024
3ab5e4f
perf(dapi): cache `getBlockchainStatus` endpoint (#1866)
shumkov May 30, 2024
9bf1bff
feat(dapi): introduce `getBestBlockHeight` endpoint (#1863)
shumkov May 30, 2024
18fa8a3
feat: make data contract factory and json schema validator public
pauldelucia Jun 4, 2024
7d3ba7f
fix: validator field didn't need to be public for JsonSchemaValidator
pauldelucia Jun 4, 2024
c03a5f8
chore(dpp): make data contract factory and json schema validator publ…
pauldelucia Jun 4, 2024
e7bfefa
chore: temp squash of masternode voting into higher branch (#1877)
QuantumExplorer Jun 11, 2024
c000f54
chore: autogenerated grpc code
QuantumExplorer Jun 11, 2024
52aff41
chore: mute NPM audit warnings (#1879)
shumkov Jun 11, 2024
5ffed4b
fix(drive): contested document resolution with masternode voting batc…
QuantumExplorer Jun 11, 2024
2d30333
chore: renamed back vote_choices to votes on places where it had been…
QuantumExplorer Jun 11, 2024
3193aaf
chore: validate that contested index is unique (#1881)
shumkov Jun 11, 2024
316db6e
fix: added description keyword to schema for contested index
QuantumExplorer Jun 11, 2024
d0035ae
fix tests
pauldelucia Jun 11, 2024
566b350
feat: contender serialization (#1882)
QuantumExplorer Jun 12, 2024
2c9368a
perf(dapi)!: replace `getMnListDiff` with a streaming endpoint (#1859)
shumkov Jun 12, 2024
75398b7
refactor(drive): encapsulate chain lock validation quorum logic (#1868)
shumkov Jun 14, 2024
5f287ac
fix: cleanup fix and remove identitiesIdsOnly Vote State query (#1890)
QuantumExplorer Jun 14, 2024
9919a8f
feat(sdk)!: impl Fetch/FetchMany for masternode voting endpoints (#1864)
lklimek Jun 14, 2024
4dd34e2
fix: small fix for test: test_document_creation_on_contested_unique_i…
QuantumExplorer Jun 16, 2024
6ce465d
fix: contested unique indexes can only be on non mutable document typ…
QuantumExplorer Jun 17, 2024
42d8573
fix: build broken after merge of contested unique indexes validation …
lklimek Jun 17, 2024
ff4f81b
feat: remove votes of removed masternodes when collateral is moved (#…
QuantumExplorer Jun 18, 2024
a75ca37
fix: contested resources query fixes (#1896)
QuantumExplorer Jun 18, 2024
9e99878
chore: update websocket client (#1895)
shumkov Jun 19, 2024
966f29f
fix: sum tree verification with specialized balances (#1899)
QuantumExplorer Jun 20, 2024
7443cb5
chore: update Karma to recent version (#1901)
shumkov Jun 22, 2024
9edcd10
fix(dashmate): background SSL renewal stuck on error (#1897)
shumkov Jun 22, 2024
0673e91
Merge branch 'v1.0-dev' into fix/select-random-identities-for-strateg…
shumkov Jun 23, 2024
69134e4
test(sdk): masternode voting SDK tests (#1893)
lklimek Jun 23, 2024
e1e85b8
refactor(dpp): change String and ByteArray DocumentPropertyType sizes…
pauldelucia Jun 23, 2024
a89d854
perf(drive)!: verify instant lock signatures with Drive (#1875)
shumkov Jun 23, 2024
366ad2c
make vote module public
pauldelucia Jun 24, 2024
8ebdd67
fix(dashmate): failed to read docker data on update (#1903)
pshenmic Jun 24, 2024
467bfa7
fix: contested document resolution fixes 2 and improvement to mastern…
QuantumExplorer Jun 25, 2024
7a2ea71
Merge remote-tracking branch 'origin' into fix/select-random-identiti…
pauldelucia Jun 27, 2024
2704188
use new tenderdash version
pauldelucia Jun 27, 2024
b33eb5a
fix: voting proofs work as intended and various fixes (#1910)
QuantumExplorer Jun 28, 2024
fde9811
chore(release): update changelog and bump version to 1.0.0-dev.16 (#1…
shumkov Jun 29, 2024
ccde6af
fix(sdk): state transition broadcast missing contract provider (#1913)
lklimek Jun 30, 2024
a32f084
build: update rs-tenderdash-abci to 1.0.0-dev.1 (#1909)
lklimek Jun 30, 2024
245dc46
fix: incorrect proofs are returned for various state transitions (#1912)
shumkov Jul 1, 2024
9db9328
chore(dpp)!: do not allow `dependentSchemas` (#1888)
shumkov Jul 1, 2024
903e4d5
refactor: extract document faker to crate (#1887)
shumkov Jul 1, 2024
5857b9e
fix: Abstain and Lock trees for votes are now always first and fixed …
QuantumExplorer Jul 2, 2024
670218a
build: use ubuntu-platform github runner hardware for all github acti…
lklimek Jul 2, 2024
815e747
build: upgrade rs-tenderdash-abci to v1.0.0 and tenderdash to v1.0.0 …
lklimek Jul 3, 2024
868be18
fix(sdk): panic GrpcContextProvider on async call inside sync code (#…
lklimek Jul 3, 2024
c6f338c
fix(drive): add validation that an identity can not apply to be a con…
QuantumExplorer Jul 4, 2024
4f71941
test(sdk): increase test coverage of masternode voting (#1906)
lklimek Jul 4, 2024
28c2c68
Merge branch 'v1.0-dev' into feat/contestedDocumentResolutionWithMast…
QuantumExplorer Jul 4, 2024
31734d8
fix: fixed voting strategy tests and cleanup
QuantumExplorer Jul 4, 2024
bedcde3
feat(sdk): support mocking of error responses (#1926)
lklimek Jul 4, 2024
9e6531a
chore: revisit system data contracts (#1889)
shumkov Jul 5, 2024
9ee1eae
fix: minor issues detected by github actions (#1928)
lklimek Jul 5, 2024
372a801
test(sdk): regenerate test vectors for masternode voting (#1927)
lklimek Jul 5, 2024
239371c
test(sdk): disable failing tests for bugs scheduled for future (#1930)
lklimek Jul 5, 2024
58e687f
fix: merkle root hash verification failed on devnet (#1929)
shumkov Jul 5, 2024
9194f31
docs: add llvm to README.md (#1908)
thephez Jul 6, 2024
8a2216f
test: fix documentTransition.hasPrefundedBalance is not a function (#…
shumkov Jul 6, 2024
61058c5
Merge branch 'v1.0-dev' into feat/contestedDocumentResolutionWithMast…
QuantumExplorer Jul 6, 2024
31029b5
chore: update masternode voting tests after merging in v1
QuantumExplorer Jul 6, 2024
c42b871
Merge branch 'feat/contestedDocumentResolutionWithMasternodeVoting' o…
QuantumExplorer Jul 6, 2024
21b903e
fix: final clean up and fixing of contested resource voting PR
QuantumExplorer Jul 6, 2024
37520df
chore: better logging for devnet upgrade protocol test (#1925)
ogabrielides Jul 8, 2024
b1b3734
fix: duplicate fields defined in DPNS contract
shumkov Jul 8, 2024
0effb07
feat(platform)!: proofs v1 support (#1934)
QuantumExplorer Jul 9, 2024
bff4b65
fix(dpp)!: data contract validation issues (#1851)
shumkov Jul 9, 2024
92303ad
Merge branch 'refs/heads/v1.0-dev' into feat/contestedDocumentResolut…
shumkov Jul 9, 2024
85faf50
chore: update Cargo lock
shumkov Jul 9, 2024
eca0a1e
style(drive): update formatting
shumkov Jul 9, 2024
6632b3b
feat(dashmate): import existing Core data (#1915)
shumkov Jul 9, 2024
f6c195d
docs: badge link for CI was broken in README.md (#1932)
thephez Jul 9, 2024
76a9a00
test: temporary skip withdrawal tests
shumkov Jul 9, 2024
de883f9
feat(dashmate): verify system requirements (#1914)
shumkov Jul 9, 2024
0e29160
chore: update to latest GroveDB (Proofs v1)
QuantumExplorer Jul 9, 2024
11a7bc7
chore(dashmate): provide debug information if version check fails (#1…
shumkov Jul 9, 2024
72c65b6
feat(platform)!: contested document resolution with masternode voting…
QuantumExplorer Jul 9, 2024
11645a6
chore(dashmate): core RPC platform services authentication (#1883)
shumkov Jul 9, 2024
c665a70
fix!: allowed to make required fields optional (#1919)
shumkov Jul 10, 2024
393ced5
refactor: use library for feature version (#1938)
QuantumExplorer Jul 10, 2024
729d555
fix(dashmate): cannot read properties of null (reading '1') (#1939)
shumkov Jul 10, 2024
85920d7
feat(drive-abci)!: rotate quorums when all quorums members have had a…
QuantumExplorer Jul 11, 2024
36a3fa6
feat(platform): update to versioned grove db (#1943)
QuantumExplorer Jul 12, 2024
f94d960
chore: update to latest grovedb 1.0.0-rc.2 (#1948)
QuantumExplorer Jul 12, 2024
f5ae7a4
refactor: fees to use version system (#1911)
ogabrielides Jul 14, 2024
bb49969
refactor: multiplier to version system and tests for refunds (#1950)
QuantumExplorer Jul 14, 2024
9a28398
refactor: move rs-random-document to separate crate (#1952)
QuantumExplorer Jul 14, 2024
498fdff
Merge branch 'v1.0-dev' into v1.0-dev-temp-fees
QuantumExplorer Jul 14, 2024
11cf782
Merge branch 'v1.0-dev' into v1.0-dev-temp-fees
QuantumExplorer Jul 14, 2024
ea5a7f1
fix: small fix fixing compilation
QuantumExplorer Jul 14, 2024
94e267b
Merge branch 'v1.0-dev-temp-fees' of github.com:dashpay/platform into…
QuantumExplorer Jul 14, 2024
602e713
refactor: cleanup of warnings and fix tests
QuantumExplorer Jul 15, 2024
b639033
refactor: aggregate PR for fee versioning (#1951)
QuantumExplorer Jul 15, 2024
1a71a33
fix(drive): valid instant lock signatures marked as invalid (#1946)
shumkov Jul 15, 2024
7c3c072
fix(drive): panic if PlatformState has serialisation error (#1945)
shumkov Jul 15, 2024
ff4cec6
chore: removed unused dpp code on state transition actions (old dupli…
QuantumExplorer Jul 15, 2024
1bcb47d
refactor: rename DriveQuery to DriveDocumentQuery (#1954)
QuantumExplorer Jul 15, 2024
fe520d3
refactor: changed Epoch serialization to make it slightly more effici…
QuantumExplorer Jul 15, 2024
09142c1
fix(dpp): document factory wouldn't allow delete transitions for immu…
pauldelucia Jul 15, 2024
c41393b
feat: versioning of action conversion (#1957)
QuantumExplorer Jul 15, 2024
6bc43d1
refactor: final drive refactoring (#1958)
QuantumExplorer Jul 16, 2024
944fd6c
fix: import fix for drive refactoring (#1959)
QuantumExplorer Jul 16, 2024
08a8aea
ci: explicitly authenticate AWS (#1960)
shumkov Jul 16, 2024
1739623
chore(platform)!: disable credit withdrawals in V1 (#1961)
QuantumExplorer Jul 16, 2024
d03e2ca
chore(dashmate): enable Core RPC whitelists (#1962)
shumkov Jul 16, 2024
86b7b39
fix(dashmate): restart platform waits for DKG (#1944)
shumkov Jul 16, 2024
257be50
feat(drive): platform version patching and state migrations (#1941)
shumkov Jul 16, 2024
9f4026f
chore(drive): additional logging and minor refactoring (#1947)
shumkov Jul 16, 2024
5405794
fix: some document error messages didnt specify the corresponding pro…
pauldelucia Jul 16, 2024
8022422
feat: integrate grovedb visualizer (#1933)
fominok Jul 16, 2024
aaa8838
docs: update readme to add cmake (#1837)
thephez Jul 16, 2024
5acbbb2
chore(release): update changelog and bump version to 1.0.0-beta.1 (#1…
shumkov Jul 16, 2024
76a6a44
ci: fix docker build for release (#1965)
shumkov Jul 16, 2024
613cfdd
chore(release): update changelog and bump version to 1.0.0-beta.2 (#1…
shumkov Jul 16, 2024
d4cec25
Fix release process
Jul 16, 2024
a89adf9
fix(ci): Fix issue with empty dir in release process (#1967)
ktechmidas Jul 16, 2024
3930e2e
chore: add comments to the platform.proto file (#1641)
thephez Jul 17, 2024
77f7a96
feat(dpp): decomposed integer types for document type properties (#1968)
QuantumExplorer Jul 17, 2024
4b6688a
ci: fix release docker images (#1969)
shumkov Jul 17, 2024
785dd6c
feat(platform)!: max field size and some clean up of versioning (#1970)
QuantumExplorer Jul 17, 2024
782fd97
chore(platform)!: updated fees (#1971)
QuantumExplorer Jul 17, 2024
d097ef3
chore: activate platform on EHF fork (#1972)
shumkov Jul 17, 2024
bf84d9d
chore(release): update changelog and bump version to 1.0.0-beta.3 (#1…
shumkov Jul 17, 2024
811dfa0
refactor(drive): don't use private bound for public trait (#1974)
shumkov Jul 17, 2024
4942906
chore(drive)!: don't use `0.0.0.0` as default listen IP (#1976)
shumkov Jul 17, 2024
cd07fd4
fix(drive): drive and tenderdash are constantly restarting (#1978)
shumkov Jul 19, 2024
811817a
fix(dashmate): configure devnet quorums (#1979)
shumkov Jul 19, 2024
2b4ccfa
fix: expected service to be a string with ip address and port (#1980)
shumkov Jul 19, 2024
6e0842f
chore(release): update changelog and bump version to 1.0.0-beta.4 (#1…
shumkov Jul 19, 2024
3d44a69
Merge branch 'v1.0-dev' into fix/select-random-identities-for-strateg…
pauldelucia Jul 21, 2024
a4ad9c7
fix: voting test
pauldelucia Jul 21, 2024
9a177ff
fix: not all identities were being used to broadcast documents in str…
pauldelucia Jul 21, 2024
bf9a4f0
reproducible builds trial 1
QuantumExplorer Jul 21, 2024
29e104e
reproducible builds trial 2
QuantumExplorer Jul 21, 2024
7b4accf
reproducible builds trial 3
QuantumExplorer Jul 21, 2024
dc15d10
feat: introduce Dockerfile to reproducibly build
PastaPastaPasta Jul 21, 2024
30e4d85
fix: don't perform the build during building of docker image
PastaPastaPasta Jul 21, 2024
1f636c1
reproducible builds trial 4
QuantumExplorer Jul 21, 2024
f5d94ff
reproducible builds trial 5
QuantumExplorer Jul 21, 2024
d3170b9
fix(platform)!: add hyphen to match for contested documents on Dashpa…
QuantumExplorer Jul 22, 2024
5129286
fix: move Dockerfile.repro into packages/rs-drive-abci
PastaPastaPasta Jul 23, 2024
ec94dd5
fixup: cleanup Dockerfile.repro
PastaPastaPasta Jul 23, 2024
319c597
fix(platform)!: document types should not have a contested unique ind…
QuantumExplorer Jul 23, 2024
2facc4d
feat(platform)!: transient properties (#1990)
QuantumExplorer Jul 23, 2024
5d4f8ca
fix(strategy-tests): key ids for new identities with extra keys were …
pauldelucia Jul 24, 2024
4d7c856
fix(dapi): can't parse masternode list diff (#1988)
shumkov Jul 24, 2024
fcfe2d5
chore(dapi): enable logger for reconnectable stream (#1986)
shumkov Jul 24, 2024
e04af5b
fix: spent asset lock estimated fees, and misc (#1993)
QuantumExplorer Jul 24, 2024
cffc763
feat(drive): added config for grovedb verify on startup (#1975)
shumkov Jul 24, 2024
990bc35
build: update tenderdash to 1.1.0-dev.1 (#1985)
lklimek Jul 24, 2024
02942c2
feat(platform)!: system data contracts should not have an owner (#1992)
QuantumExplorer Jul 24, 2024
69d00fd
fix(strategy-tests): transfer keys were being disabled (#1995)
pauldelucia Jul 24, 2024
6913319
fix(drive): unknown mn_rr fork height (#1994)
shumkov Jul 24, 2024
0f7f6bc
build: update tenderdash to 1.1.0-dev.2 (#1996)
lklimek Jul 24, 2024
eb6fa5d
chore(release): update changelog and bump version to 1.0.0-rc.1 (#1997)
shumkov Jul 24, 2024
799fd04
chore(dashmate): update genesis config to the latest testnet (#1998)
shumkov Jul 24, 2024
5eb3e8c
fix: sdk should ignore transient fields when verifying proofs (#2000)
QuantumExplorer Jul 24, 2024
429c009
fix: dpns js sdk fix for identity record rename (#2001)
QuantumExplorer Jul 24, 2024
ca7f2e0
fix: two error messages had typos (#2005)
pauldelucia Jul 25, 2024
5db7c7d
fix(strategy-tests): document delete transitions were not selecting i…
pauldelucia Jul 25, 2024
50d8f09
fix(strategy-tests): document delete transitions were selecting ident…
pauldelucia Jul 25, 2024
2025440
build: update to tenderdash 1.1.0-dev.3, rs-tenderdash-abci 1.1.0-dev…
lklimek Jul 25, 2024
45825c1
fix(platform): core info is lost between genesis and first block (#2004)
QuantumExplorer Jul 25, 2024
77a2bff
feat: specify transition names within documents batch (#2007)
pauldelucia Jul 25, 2024
8b550cd
fix(platform)!: genesis state from core block time (#2003)
QuantumExplorer Jul 25, 2024
4dbcdba
chore(release): update changelog and bump version to 1.0.0-rc.2 (#2010)
shumkov Jul 25, 2024
05c4d9d
fix: epoch protocol version setting (#2013)
QuantumExplorer Jul 27, 2024
9001aa9
feat: sdk to return proofs if requested (#2014)
QuantumExplorer Jul 28, 2024
5b32b0b
chore: update to GroveDB Version 1.0.0 (#2015)
QuantumExplorer Jul 29, 2024
2f2ba10
fix(dashmate): remove `dash-cli` from protx registration instructions…
pshenmic Jul 29, 2024
a47e747
build: update tenderdash to 1.1.0 (#2017)
lklimek Jul 29, 2024
c20d5fd
fix(dashmate): imported node is not starting (#2009)
shumkov Jul 29, 2024
1707ba4
chore(dashmate): configure mainnet (#2016)
shumkov Jul 29, 2024
e16c87a
chore(release): update changelog and bump version to 1.0.0 (#2020)
shumkov Jul 29, 2024
9ff08df
chore(release): update changelog and bump version to 1.0.1 (#2021)
shumkov Jul 29, 2024
aa4c131
feat(dashmate): a flag to keep data on reset (#2026)
shumkov Jul 31, 2024
46260df
fix(dashmate): unnecessary core indexes are required (#2025)
shumkov Jul 31, 2024
79059f6
fix(dashmate): status command shows tenderdash error before activatio…
pshenmic Jul 31, 2024
030eb05
chore(release): update changelog and bump version to 1.0.2 (#2029)
shumkov Jul 31, 2024
392934b
Merge branch 'v1.0-dev' into feat/reproducibleBuilds
shumkov Jul 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
31 changes: 29 additions & 2 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,35 @@
# TODO: We shouldn't go with tokio_unstable to production

[target.aarch64-unknown-linux-musl]
rustflags = [ "-C", "target-feature=-crt-static" ]
rustflags = ["-C", "target-feature=-crt-static"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It overwrites rustflags in the build section so you are loosing "--cfg", "tokio_unstable"

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't believe this is the case: see slack for more discussion

linker = "aarch64-linux-musl-gcc"

[target.x86_64-unknown-linux-musl]
rustflags = [ "-C", "target-feature=-crt-static" ]
rustflags = ["-C", "target-feature=-crt-static"]
linker = "x86_64-linux-musl-gcc"

[target.aarch64-unknown-linux-gnu]
linker = "aarch64-linux-gnu-gcc"

[target.x86_64-unknown-linux-gnu]
linker = "x86_64-linux-gnu-gcc"

[profile.release]
opt-level = 3
debug = false
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many of them look like default values for the release profile. Which params exactly make builds reproducable?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's not clear which args are needed specifically to result in reproducibility; what concerns do you have about specifying these options even if they as default?

debug-assertions = false
overflow-checks = false
lto = true
panic = 'abort'
codegen-units = 1
incremental = false
rustflags = [
"-C", "relocation-model=pic",
"-C", "strip=debuginfo"
Copy link
Member

@shumkov shumkov Jul 31, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just do
strip = "debuginfo"
for profile

]


[build]
rustflags = [
"--cfg", "tokio_unstable"
]
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ packages/*/dist
packages/*/wasm
packages/*/lib/wasm
packages/*/node_modules
packages/*/.env

!packages/platform-test-suite/test

Expand Down
8 changes: 8 additions & 0 deletions .github/actions/docker/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ inputs:
region:
description: S3 bucket region
required: true
aws_access_key_id:
description: AWS access key ID
required: true
aws_secret_access_key:
description: AWS secret access key
required: true
outputs:
digest:
value: ${{ steps.docker_build.outputs.digest }}
Expand Down Expand Up @@ -102,6 +108,8 @@ runs:
SCCACHE_BUCKET=${{ inputs.bucket }}
SCCACHE_REGION=${{ inputs.region }}
SCCACHE_S3_KEY_PREFIX=${{ runner.os }}/sccache
AWS_ACCESS_KEY_ID=${{ inputs.aws_access_key_id }}
AWS_SECRET_ACCESS_KEY=${{ inputs.aws_secret_access_key }}
cache-from: ${{ steps.layer_cache_settings.outputs.cache_from }}
cache-to: ${{ steps.layer_cache_settings.outputs.cache_to }}
outputs: type=image,name=${{ inputs.image_org }}/${{ inputs.image_name }},push-by-digest=${{ inputs.push_tags != 'true' }},name-canonical=true,push=true
Expand Down
37 changes: 37 additions & 0 deletions .github/actions/javy/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
name: "Setup Javy"
description: "Setup Javy binaries"
inputs:
version:
description: Javy version to use
required: false
default: "1.4.0"
runs:
using: composite
steps:
- name: Install Javy
shell: bash
run: |
set -e

case "${{ runner.arch }}" in
"ARM64")
JAVY_ARCH="arm-linux"
;;
"X64")
JAVY_ARCH="x86_64-linux"
;;
*)
echo "Unsupported architecture: ${{ runner.arch }}"
exit 1
;;
esac

curl -Ls "https://github.com/bytecodealliance/javy/releases/download/v${{ inputs.version }}/javy-${JAVY_ARCH}-v${{ inputs.version }}.gz" | gunzip > javy

chmod +x javy
sudo mv javy /usr/local/bin/javy

- name: Verify Javy installation
shell: bash
run: javy --version
2 changes: 2 additions & 0 deletions .github/actions/local-network/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,5 @@ runs:
- name: Start local network
shell: bash
run: yarn start
env:
DEBUG: 1
2 changes: 1 addition & 1 deletion .github/actions/nodejs/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ runs:
using: composite
steps:
- name: Setup Node.JS
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "20"

Expand Down
19 changes: 16 additions & 3 deletions .github/actions/rust/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ inputs:
toolchain:
description: Rust toolchain to use, stable / nightly / beta, or exact version
# The same as in /README.md
default: "stable"
default: "1.76"
target:
description: Target Rust platform
required: false
Expand Down Expand Up @@ -49,13 +49,26 @@ runs:
esac

# TODO: Move to AMI and build every day
- name: Check if protoc is installed
id: check-protoc
shell: bash
run: |
if command -v protoc >/dev/null 2>&1; then
echo "protoc is already installed."
echo "protoc_installed=true" >> $GITHUB_OUTPUT
else
echo "protoc is not installed."
echo "protoc_installed=false" >> $GITHUB_OUTPUT
fi

- name: Install protoc
if: steps.check-protoc.outputs.protoc_installed == 'false'
id: deps-protoc
shell: bash
run: |
curl -Lo /tmp/protoc.zip \
"https://github.com/protocolbuffers/protobuf/releases/download/v22.0/protoc-22.0-linux-${{ steps.protoc_arch.outputs.arch }}.zip"
unzip /tmp/protoc.zip -d ${HOME}/.local
"https://github.com/protocolbuffers/protobuf/releases/download/v25.2/protoc-25.2-linux-${{ steps.protoc_arch.outputs.arch }}.zip"
unzip -o /tmp/protoc.zip -d ${HOME}/.local
echo "PROTOC=${HOME}/.local/bin/protoc" >> $GITHUB_ENV
export PATH="${PATH}:${HOME}/.local/bin"

Expand Down
7 changes: 6 additions & 1 deletion .github/package-filters/js-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,12 @@ dash: &dash
dashmate:
- .github/workflows/tests*
- packages/dashmate/**
- *dash
- *dashpay-contract
- *masternode-reward-shares-contract
- *dpns-contract
- *withdrawals-contract
- *wallet-lib
- *dapi-client

'@dashevo/platform-test-suite':
- .github/workflows/tests*
Expand Down
7 changes: 6 additions & 1 deletion .github/package-filters/rs-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,18 @@ dpns-contract: &dpns-contract
- .github/workflows/tests*
- packages/dpns-contract/**

json-schema-compatibility-validator: &json-schema-compatibility-validator
- .github/workflows/tests*
- packages/rs-json-schema-compatibility-validator/**

dpp: &dpp
- .github/workflows/tests*
- packages/rs-dpp/**
- *dashpay-contract
- *masternode-reward-shares-contract
- *dpns-contract
- *withdrawals-contract
- *json-schema-compatibility-validator
- packages/rs-platform-serialization/**
- packages/rs-platform-serialization-derive/**
- packages/rs-platform-value/**
Expand Down Expand Up @@ -54,7 +59,7 @@ rs-dapi-client: &dapi_client
- packages/rs-dapi-client/**
- *dapi_grpc

rs-sdk:
dash-sdk:
- .github/workflows/tests*
- packages/rs-drive-proof-verifier/**
- packages/rs-sdk/**
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Publish docs via GitHub Pages
on:
push:
branches:
- master
- v1.0-dev

jobs:
build:
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/release-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
build-image:
name: Build ${{ matrix.platform }} image
runs-on: ${{ matrix.runner }}
timeout-minutes: 20
timeout-minutes: 25
strategy:
matrix:
include:
Expand All @@ -42,7 +42,9 @@ jobs:
- name: Configure AWS credentials and bucket region
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: ${{ vars.AWS_REGION }}
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_REGION }}

- name: Build and push by digest
uses: ./.github/actions/docker
Expand All @@ -56,10 +58,13 @@ jobs:
cargo_profile: release
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}
region: ${{ vars.AWS_REGION }}
region: ${{ secrets.AWS_REGION }}
aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

- name: Export digest
run: |
rm -rf ${{ env.DIGEST_DIR_PATH }}
mkdir -p ${{ env.DIGEST_DIR_PATH }}
digest="${{ steps.docker_build.outputs.digest }}"
touch "${{ env.DIGEST_DIR_PATH }}/${digest#sha256:}"
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ jobs:
- name: Configure AWS credentials and bucket region
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: ${{ vars.AWS_REGION }}
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_REGION }}

- name: Retrieve JS build artifacts
uses: strophy/actions-cache@opendal-update
Expand Down Expand Up @@ -69,7 +71,7 @@ jobs:
CARGO_BUILD_PROFILE: release
RUSTC_WRAPPER: sccache
SCCACHE_BUCKET: multi-runner-cache-x1xibo9c
SCCACHE_REGION: ${{ vars.AWS_REGION }}
SCCACHE_REGION: ${{ secrets.AWS_REGION }}
SCCACHE_S3_KEY_PREFIX: ${{ runner.os }}/sccache/wasm/wasm32
if: ${{ steps.cache.outputs.cache-hit != 'true' }}

Expand Down Expand Up @@ -135,7 +137,7 @@ jobs:
image_name: drive
target: drive-abci

release-drive-dapi:
release-dapi-image:
name: Release DAPI image
secrets: inherit
uses: ./.github/workflows/release-docker-image.yml
Expand Down Expand Up @@ -193,8 +195,9 @@ jobs:
- name: Configure AWS credentials and bucket region
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: ${{ vars.AWS_REGION }}
role-to-assume: ${{ vars.AWS_ROLE_TO_ASSUME }}
aws-region: ${{ secrets.AWS_REGION }}
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

- name: Retrieve JS build artifacts
uses: strophy/actions-cache@opendal-update
Expand Down
14 changes: 9 additions & 5 deletions .github/workflows/tests-build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
jobs:
build-image:
name: Build ${{ inputs.name }} image
runs-on: [ "self-hosted", "linux", "arm64", "ubuntu-platform-4x" ]
runs-on: ["self-hosted", "linux", "arm64", "ubuntu-platform"]
steps:
- name: Check out repo
uses: actions/checkout@v4
Expand All @@ -27,20 +27,24 @@ jobs:
- name: Configure AWS credentials and bucket region
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: ${{ vars.AWS_REGION }}
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_REGION }}

- name: Login to ECR
run: aws ecr get-login-password --region ${{ vars.AWS_REGION }} | docker login --username AWS --password-stdin ${{ vars.AWS_ACCOUNT_ID }}.dkr.ecr.${{ vars.AWS_REGION }}.amazonaws.com
run: aws ecr get-login-password --region ${{ secrets.AWS_REGION }} | docker login --username AWS --password-stdin ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com
shell: bash

- name: Build and push by SHA
uses: ./.github/actions/docker
with:
image_name: ${{ inputs.image_name }}
image_org: ${{ vars.AWS_ACCOUNT_ID }}.dkr.ecr.${{ vars.AWS_REGION }}.amazonaws.com
image_org: ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com
target: ${{ inputs.target }}
platform: linux/arm64
push_tags: true
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}
region: ${{ vars.AWS_REGION }}
region: ${{ secrets.AWS_REGION }}
aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
8 changes: 5 additions & 3 deletions .github/workflows/tests-build-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ on:
jobs:
build-js:
name: Build JS
runs-on: [ "self-hosted", "linux", "arm64", "ubuntu-platform-4x" ]
runs-on: ["self-hosted", "linux", "arm64", "ubuntu-platform"]
steps:
- name: Configure AWS credentials and bucket region
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: ${{ vars.AWS_REGION }}
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_REGION }}

# TODO: Use upload artifacts action instead
- name: Cache build artifacts
Expand Down Expand Up @@ -50,7 +52,7 @@ jobs:
env:
RUSTC_WRAPPER: sccache
SCCACHE_BUCKET: multi-runner-cache-x1xibo9c
SCCACHE_REGION: ${{ vars.AWS_REGION }}
SCCACHE_REGION: ${{ secrets.AWS_REGION }}
SCCACHE_S3_KEY_PREFIX: ${{ runner.os }}/sccache/wasm/wasm32

- name: Ignore only already cached artifacts
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/tests-codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ jobs:
- name: Configure AWS credentials and bucket region
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: ${{ vars.AWS_REGION }}
role-to-assume: ${{ vars.AWS_ROLE_TO_ASSUME }}
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_REGION }}

- name: Setup Node.JS
uses: ./.github/actions/nodejs
Expand Down
Loading
Loading