Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
427 commits
Select commit Hold shift + click to select a range
8ad0b8f
Merge branch 'v0.24-dev' into feat/wasm-dpp-integration
shumkov Apr 4, 2023
84c8206
feat(js-drive): add fetchExtendedDocuments
markin-io Apr 4, 2023
0c44273
feat(wasm-dpp): refactor parsing of fee refunds by PreCalculatedOpera…
markin-io Apr 4, 2023
7b9ad69
test: feature flags tests
Apr 4, 2023
2bc3c56
Merge remote-tracking branch 'origin/feat/wasm-dpp-integration' into …
Apr 4, 2023
983b0e2
feat(wasm-dpp): add toObject to Refunds
markin-io Apr 4, 2023
67e9b0b
fix(rs-drive-nodejs): refunds calculation
markin-io Apr 4, 2023
e3ab556
test(sdk): enable Document update
markin-io Apr 4, 2023
7916c5a
Merge branch 'feat/wasm-dpp-integration' of github.com:dashpay/platfo…
markin-io Apr 4, 2023
aca0cc3
chore: simple logging setup for dpp
jawid-h Apr 4, 2023
1be3b7a
Merge branch 'feat/wasm-dpp-integration' of github.com:dashpay/platfo…
jawid-h Apr 4, 2023
d4c4a4f
fix DataContractUpdateTransition serialization and parsing
antouhou Apr 4, 2023
78738c1
Merge remote-tracking branch 'origin/feat/wasm-dpp-integration' into …
antouhou Apr 4, 2023
a31f5f8
fix(js-drive): missing extended flag in DocumentRepository.js
markin-io Apr 4, 2023
14a2492
Merge branch 'feat/wasm-dpp-integration' of github.com:dashpay/platfo…
markin-io Apr 4, 2023
180d318
feat: integrate consensus errors
shumkov Apr 4, 2023
34f340e
Merge remote-tracking branch 'origin/feat/wasm-dpp-integration' into …
shumkov Apr 4, 2023
78b7d87
Merge branch 'v0.24-dev' into feat/wasm-dpp-integration
shumkov Apr 4, 2023
56872b1
wip(rs-dpp): add test case with negative operations
markin-io Apr 4, 2023
64e375e
Merge branch 'feat/wasm-dpp-integration' of github.com:dashpay/platfo…
markin-io Apr 4, 2023
960fd0e
chore: unit test fix
jawid-h Apr 5, 2023
b974827
chore: unit test fix
jawid-h Apr 5, 2023
bbe4dda
chore: unit test fix
jawid-h Apr 5, 2023
60c0c7a
fix(wasm-dpp): data contract move in create_data_contract_update_tran…
markin-io Apr 5, 2023
4813975
chore(sdk): add more logs
markin-io Apr 5, 2023
b15f2b8
fix DataContract::setDocumentSchema to update document_types
antouhou Apr 5, 2023
57647e0
Merge branch 'feat/wasm-dpp-integration' of github.com:dashpay/platfo…
markin-io Apr 5, 2023
91ba573
add update_data_contract to state repository and fixed apply_data_con…
antouhou Apr 5, 2023
425329a
Merge branch 'feat/wasm-dpp-integration' of github.com:dashpay/platfo…
markin-io Apr 5, 2023
2f69d8d
build: optimized docker images
shumkov Apr 5, 2023
c565b08
Merge remote-tracking branch 'origin/feat/wasm-dpp-integration' into …
shumkov Apr 5, 2023
95d707d
test(platform-test-suite): enable DataContract update
markin-io Apr 5, 2023
b3bdd7b
chore(rs-dpp): add todo to create DC
markin-io Apr 5, 2023
23ba40c
Merge branch 'feat/wasm-dpp-integration' of github.com:dashpay/platfo…
markin-io Apr 5, 2023
8754aac
chore: unit test fix
jawid-h Apr 5, 2023
1c03ee2
Merge branch 'feat/wasm-dpp-integration' of github.com:dashpay/platfo…
jawid-h Apr 5, 2023
1739bd4
chore: update asserions for chai
jawid-h Apr 5, 2023
c9378d4
chore: more unit test fixes
jawid-h Apr 5, 2023
5b17224
fix(wasm-dpp): identity panic
markin-io Apr 5, 2023
677a910
feat(wasm-dpp): optional metadata
markin-io Apr 5, 2023
7439c1d
fix(js-drive): documentQueryHandlerFactory.js queries non extended do…
markin-io Apr 5, 2023
6c0b961
test(platform-test-suite): Document tests error handling
markin-io Apr 5, 2023
8bb7fa6
Merge branch 'feat/wasm-dpp-integration' of github.com:dashpay/platfo…
markin-io Apr 5, 2023
911b569
fix(wasm-dpp): return buffer in getData for identity_public_key_trans…
markin-io Apr 5, 2023
76f7fee
test(platform-test-suite): enable contacts.spec.js
markin-io Apr 5, 2023
20f1053
fix: negative fees
shumkov Apr 6, 2023
394ed43
Merge remote-tracking branch 'origin/feat/wasm-dpp-integration' into …
shumkov Apr 6, 2023
4da8721
test(platform-test-suite): enable document delete in Document.spec.js
markin-io Apr 6, 2023
1a3c6b6
fix: invalid url format in json schemas
shumkov Apr 6, 2023
4e03135
fix: invalid url format in json schemas
shumkov Apr 6, 2023
dc9784d
chore: enable skipped contract test
shumkov Apr 6, 2023
bb72207
add generateTemporaryEcdsaPrivateKey method to wasm-dpp and fixed Buf…
antouhou Apr 6, 2023
7606918
Merge remote-tracking branch 'origin/feat/wasm-dpp-integration' into …
antouhou Apr 6, 2023
222bb7b
fix: invalid saltedDomainHash validation
shumkov Apr 6, 2023
11f5637
Merge remote-tracking branch 'origin/feat/wasm-dpp-integration' into …
shumkov Apr 6, 2023
99b26d1
fix(dpp): updated at is not set for document replace
markin-io Apr 6, 2023
867de68
test(platform-test-suite): fix Document spec greaterThan
markin-io Apr 6, 2023
d55cc86
feat(platform-test-suite): prepare proofs.spec.js and waitForStateTra…
markin-io Apr 6, 2023
af98dc2
chore: more unit tests fixes
jawid-h Apr 6, 2023
d44395a
Merge branch 'feat/wasm-dpp-integration' of github.com:dashpay/platfo…
jawid-h Apr 6, 2023
6aa2d11
tests
Apr 6, 2023
97e0d33
tests
Apr 6, 2023
dd71584
chore: more unit tests fix
jawid-h Apr 6, 2023
1ead364
Merge branch 'feat/wasm-dpp-integration' of github.com:dashpay/platfo…
jawid-h Apr 6, 2023
7521a33
fix(rs-dpp): missing execution context in validate_documents_batch_tr…
markin-io Apr 6, 2023
bc2a87e
fix(rs-dpp): ignored mn reward shared trigger on create
markin-io Apr 6, 2023
44d9e93
test(platform-test-suite): partially fix masternodeRewardShares.spec.js
markin-io Apr 6, 2023
6347bba
Merge branch 'feat/wasm-dpp-integration' of github.com:dashpay/platfo…
markin-io Apr 6, 2023
af95046
chore: some integration test fixes
jawid-h Apr 6, 2023
5b76c35
Merge branch 'feat/wasm-dpp-integration' of github.com:dashpay/platfo…
jawid-h Apr 6, 2023
d89a97a
Merge branch 'v0.24-dev' into feat/wasm-dpp-integration
shumkov Apr 7, 2023
7ca2258
fix: various issues after merge
shumkov Apr 7, 2023
dd92d71
tests
Apr 7, 2023
9a152fb
wip(wasm-dpp): add TODOs to match Date api fot date bindings
markin-io Apr 7, 2023
a89df33
Merge branch 'feat/wasm-dpp-integration' of github.com:dashpay/platfo…
markin-io Apr 7, 2023
cba98fe
fix fetchSML
antouhou Apr 7, 2023
1f89304
Merge remote-tracking branch 'origin/feat/wasm-dpp-integration' into …
antouhou Apr 7, 2023
0eebba0
refactor(wasm-dpp): return private key string instead of bytes in gen…
markin-io Apr 7, 2023
a4dd6b8
refactor(sdk): generate private key with wasm-dpp
markin-io Apr 7, 2023
487e24a
chore(dashmate): hide dash import
shumkov Apr 7, 2023
7ca9266
fix data trigger tests
antouhou Apr 7, 2023
559727e
Merge remote-tracking branch 'origin/feat/wasm-dpp-integration' into …
antouhou Apr 7, 2023
42374fc
revert(dashmate): hide dash import
shumkov Apr 7, 2023
5991124
Merge remote-tracking branch 'origin/feat/wasm-dpp-integration' into …
shumkov Apr 7, 2023
c5f03d9
Merge branch 'feat/wasm-dpp-integration' of github.com:dashpay/platfo…
markin-io Apr 7, 2023
462d46a
Merge branch 'v0.24-dev' of github.com:dashpay/platform into v0.24-dev
markin-io Apr 7, 2023
a96a475
build(js-drive): remove Cargo.toml.template
markin-io Apr 7, 2023
c5ce94f
feat(wasm-dpp): use js Data class instead on numbers
Apr 7, 2023
91486b9
lint(dapi): fix errors
Apr 7, 2023
68fa946
fix(rs-dpp): missing reward share replace data trigger
markin-io Apr 7, 2023
d466055
test(platform-test-suite): enable masternodeRewardShares.spec.js
markin-io Apr 7, 2023
33bec58
Merge branch 'feat/wasm-dpp-integration' of github.com:dashpay/platfo…
markin-io Apr 7, 2023
d7bba22
lint: fix errors
Apr 7, 2023
3d3fa03
Merge remote-tracking branch 'origin/feat/wasm-dpp-integration' into …
Apr 7, 2023
c2ae16d
test(wasm-dpp): generateTemporaryEcdsaPrivateKey.spec.js
markin-io Apr 7, 2023
e165ace
tes: fix errors
Apr 7, 2023
23d98d8
Merge remote-tracking branch 'origin/feat/wasm-dpp-integration' into …
Apr 7, 2023
6df4439
chore: more integration tests
jawid-h Apr 7, 2023
c34f602
Merge branch 'feat/wasm-dpp-integration' of github.com:dashpay/platfo…
jawid-h Apr 7, 2023
4b7907f
Merge branch 'v0.24-dev' into feat/wasm-dpp-integration
shumkov Apr 7, 2023
4c2825d
chore: fix merge artifacts
shumkov Apr 7, 2023
976642c
wip: git-fetch-with-cli in cargo config
markin-io Apr 7, 2023
de0094c
Merge branch 'feat/wasm-dpp-integration' of github.com:dashpay/platfo…
markin-io Apr 7, 2023
ec7533c
chore: more integration tests
jawid-h Apr 7, 2023
3cb924c
Merge branch 'feat/wasm-dpp-integration' of github.com:dashpay/platfo…
jawid-h Apr 7, 2023
6a97ce3
chore: linter
jawid-h Apr 7, 2023
15fd5c3
chore: linter fix
jawid-h Apr 7, 2023
aff6682
chore: linter
jawid-h Apr 7, 2023
62d06ad
Revert "wip: git-fetch-with-cli in cargo config"
markin-io Apr 7, 2023
9522e6d
Merge branch 'feat/wasm-dpp-integration' of github.com:dashpay/platfo…
markin-io Apr 7, 2023
2b3d5b0
wip: test disabled git db cache
markin-io Apr 7, 2023
73b3ccf
Merge branch 'v0.24-dev' into feat/wasm-dpp-integration
shumkov Apr 7, 2023
c43e8f1
wip: test old cache
markin-io Apr 7, 2023
98f2a0c
Merge branch 'feat/wasm-dpp-integration' of github.com:dashpay/platfo…
markin-io Apr 7, 2023
9efba5f
debug
Apr 7, 2023
257e6b8
Merge branch 'v0.24-dev' into feat/wasm-dpp-integration
shumkov Apr 7, 2023
c37a0ca
wip: add git-fetch-with-cli
markin-io Apr 7, 2023
ff604fb
Merge branch 'feat/wasm-dpp-integration' of github.com:dashpay/platfo…
markin-io Apr 7, 2023
64d3b0a
Merge branch 'feat/wasm-dpp-integration' of github.com:dashpay/platfo…
jawid-h Apr 7, 2023
898bc9b
Merge branch 'v0.24-dev' of github.com:dashpay/platform into v0.24-dev
markin-io Apr 7, 2023
595bc00
Merge branch 'v0.24-dev' into feat/wasm-dpp-integration
markin-io Apr 7, 2023
ed56eac
Merge branch 'feat/wasm-dpp-integration' of github.com:dashpay/platfo…
jawid-h Apr 7, 2023
2e84f30
revert Dockerfile maniuplations
markin-io Apr 7, 2023
2fafdda
build(dashmate): fix cargo git issues
shumkov Apr 8, 2023
e7f6025
build: use random sscache ports
shumkov Apr 8, 2023
28da3a0
chore(drive): ignore faulty quorum for rotation
shumkov Apr 9, 2023
b390dbd
revert(drive): ignore faulty quorum for rotation
shumkov Apr 9, 2023
570f69e
Merge branch 'v0.24-dev' into feat/wasm-dpp-integration
shumkov Apr 10, 2023
71a2505
Merge branch 'v0.24-dev' into feat/wasm-dpp-integration
shumkov Apr 10, 2023
293efcc
Merge branch 'v0.24-dev' into feat/wasm-dpp-integration
shumkov Apr 10, 2023
3835571
chore: integration tests
jawid-h Apr 10, 2023
26324b7
chore: minor
jawid-h Apr 10, 2023
d3def6f
chore: fixes
jawid-h Apr 10, 2023
4163969
Merge branch 'feat/wasm-dpp-integration' of github.com:dashpay/platfo…
jawid-h Apr 10, 2023
20072c7
chore: missing blsAdapter
jawid-h Apr 10, 2023
6d731b7
chore(dashmate): use local user and group to start envoy
shumkov Apr 11, 2023
7ff6fc2
Merge remote-tracking branch 'origin/feat/wasm-dpp-integration' into …
shumkov Apr 11, 2023
4e1bcff
chore(dashmate): use read-only mounts for dashd and envoy
shumkov Apr 11, 2023
fe09d8a
build(wasm-dpp): rework building procedure to produce correct typescr…
markin-io Apr 11, 2023
a0ff07e
build(wasm-dpp): add missing deps
markin-io Apr 11, 2023
69781bb
Merge branch 'v0.24-dev' into feat/wasm-dpp-integration
shumkov Apr 11, 2023
1f232dd
test(rs-drive): fix broken tests
Apr 11, 2023
6675b3a
fix(wasm-dpp): non-optional bls in signByPrivateKey
markin-io Apr 11, 2023
e8332bd
feat(wasm-dpp): optional `options` in createFrom* functions of facades
markin-io Apr 11, 2023
9c69ff7
feat(wasm-dpp): optional document definitions in data contract facade
markin-io Apr 11, 2023
74075f1
Merge branch 'feat/wasm-dpp-integration' of github.com:dashpay/platfo…
markin-io Apr 11, 2023
7036fca
fix(wasm-dpp): additional identifier typings
markin-io Apr 11, 2023
5b6eeb6
refactor(js-dash-sdk): usage of primitives from wasm-dpp
markin-io Apr 11, 2023
123d588
refactor(sdk): get rid of DPP classes in the src/
markin-io Apr 11, 2023
e30791a
fix(sdk): missing contract in ClientApps
markin-io Apr 11, 2023
1a10d5c
chore: try to enable sccache
strophy Apr 12, 2023
03ea421
chore: try to add some sccache info
strophy Apr 12, 2023
9d624c0
Revert "chore: try to add some sccache info"
strophy Apr 12, 2023
965ca2c
chore: try to add some sccache info
strophy Apr 12, 2023
2fbfb45
test(sdk): fixed unit tests
markin-io Apr 12, 2023
b2b105a
Merge branch 'v0.24-dev' into feat/wasm-dpp-integration
markin-io Apr 12, 2023
9762b4f
test(sdk): fixed functional test
markin-io Apr 12, 2023
5c1e3e1
test(dapi): fix broken tests
Apr 12, 2023
d6baadd
Merge branch 'feat/wasm-dpp-integration' of github.com:dashpay/platfo…
markin-io Apr 12, 2023
309828f
refactor(sdk): get rid of dpp instance
markin-io Apr 12, 2023
fcd3a79
test(rs-drive): fix broken tests
Apr 12, 2023
2ee7ec8
chore: fixes
jawid-h Apr 12, 2023
9c5667c
Merge branch 'feat/wasm-dpp-integration' of github.com:dashpay/platfo…
jawid-h Apr 12, 2023
423d735
chore: fix FeeResult#create
jawid-h Apr 12, 2023
afea8e6
test(platform-test-suite): fix legacy dpp calls
markin-io Apr 12, 2023
eef6509
Merge branch 'feat/wasm-dpp-integration' of github.com:dashpay/platfo…
markin-io Apr 12, 2023
2216b47
feat(wasm-dpp): add getDryOperations to StateTransactionExecutionContext
markin-io Apr 12, 2023
6025208
chore: unit tests fixed
jawid-h Apr 12, 2023
16a6c89
fix(js-drive): fix feeRefunds buffer conversion
markin-io Apr 12, 2023
aefb803
fix(rs-dpp): fetch identity balance instead of identity in fee validator
markin-io Apr 12, 2023
8aaaf57
build(wasm-dpp): fix versions
markin-io Apr 12, 2023
7188cde
chore: integration tests
jawid-h Apr 12, 2023
c6b9bf1
refactor(sdk): resolve todos
markin-io Apr 12, 2023
d382739
feat(wasm-dpp): add setType for ExtendedDocument
markin-io Apr 12, 2023
f4c3b32
Merge branch 'feat/wasm-dpp-integration' of github.com:dashpay/platfo…
jawid-h Apr 12, 2023
a568b69
chore: document repo tests
jawid-h Apr 12, 2023
b91f5a8
chore: hacky eslint fix
jawid-h Apr 12, 2023
fb180a1
build: remove unused deps
markin-io Apr 12, 2023
874b074
refactor: replace storeDataContract with createDataaContract
markin-io Apr 13, 2023
377a550
feat(wallet-lib): use wasm-dpp instead of dpp
markin-io Apr 13, 2023
178377c
chore: fixes
jawid-h Apr 13, 2023
ce41851
chore: coverage
jawid-h Apr 13, 2023
42d415b
test(wasm-dpp): add tests for TS typings
markin-io Apr 13, 2023
cf53c02
Merge branch 'feat/wasm-dpp-integration' of github.com:dashpay/platfo…
markin-io Apr 13, 2023
695e935
build(wasm-dpp): fix rootDir
markin-io Apr 13, 2023
c7ee700
feat(wasm-dpp): add missing API funcitonal from dashplatform tutorial
markin-io Apr 13, 2023
6a22aa1
test: fix broken tests
Apr 13, 2023
4e21272
Merge remote-tracking branch 'origin/feat/wasm-dpp-integration' into …
Apr 13, 2023
4772ba9
test: fix broken tests
Apr 13, 2023
e849ca9
chore: consensus error logging fix
jawid-h Apr 13, 2023
4c2e22b
Merge branch 'feat/wasm-dpp-integration' of github.com:dashpay/platfo…
jawid-h Apr 13, 2023
fa40998
test(js-drive): reduce required lines coverage percentage to 87%
markin-io Apr 13, 2023
b345d11
Merge branch 'feat/wasm-dpp-integration' of github.com:dashpay/platfo…
markin-io Apr 13, 2023
4229dcb
fix(wasm-dpp): error on unimplemented ST methods instead of hanging
markin-io Apr 14, 2023
92bfd44
test(platform-test-suite): remove todos
markin-io Apr 14, 2023
ca74c0a
chore: remove console logs
Apr 14, 2023
6be396c
Merge remote-tracking branch 'origin/feat/wasm-dpp-integration' into …
Apr 14, 2023
fb71ac5
chore: remove TODOs
Apr 14, 2023
687353e
chore: remove console logs
Apr 14, 2023
dc69451
refactor(dapi): cleanup remaining tobuffer issues
markin-io Apr 14, 2023
6a96fb6
refactor(dapi): fix incorrect usage of loadWasmDpp
markin-io Apr 14, 2023
d8b211f
chore: fix minor issues
Apr 14, 2023
5491ca1
Merge remote-tracking branch 'origin/feat/wasm-dpp-integration' into …
Apr 14, 2023
ef9970c
maybe fix query issue
antouhou Apr 14, 2023
747448e
Merge remote-tracking branch 'origin/feat/wasm-dpp-integration' into …
antouhou Apr 14, 2023
1af6ada
fix(js-drive): revert buffer conversion for instant lock
markin-io Apr 14, 2023
da29548
test(drive): deplace dpp fixtures with wasm-dpp fixtures
Apr 14, 2023
f3164b1
Merge remote-tracking branch 'origin/feat/wasm-dpp-integration' into …
Apr 14, 2023
98ec7ee
refactor(dapi): last unnecessary tobuffer hack
markin-io Apr 14, 2023
20135f3
test(drive): replace dpp fixtures with wasm-dpp fixtures
Apr 14, 2023
51fa9c4
Merge branch 'feat/wasm-dpp-integration' of github.com:dashpay/platfo…
markin-io Apr 14, 2023
c4a4d6c
chore: minor issues
Apr 14, 2023
3abd92b
Merge remote-tracking branch 'origin/feat/wasm-dpp-integration' into …
Apr 14, 2023
e75a57c
chore: minor issues
Apr 14, 2023
c4c99bc
chore: minor issues
Apr 14, 2023
ca820a6
refactor(dapi-client): Wasm-dpp usage
markin-io Apr 14, 2023
a0c6548
refactor(sdk): review cleanups
markin-io Apr 14, 2023
26f33af
refactor(dpp): revert unnecessary changes
markin-io Apr 14, 2023
96acdc0
refactor(platform-test-suite): cleanup
markin-io Apr 14, 2023
704afcd
test(platform-test-suite): fix now timestamp
markin-io Apr 14, 2023
c453fae
chore(wasm-dpp): fix clean script
markin-io Apr 14, 2023
bb06baa
Revert "maybe fix query issue"
markin-io Apr 14, 2023
466ed6a
refactor(js-drive): get rid of dppWasm
markin-io Apr 14, 2023
9a30193
refactor(sdk): revert to original one time PrivateKey
markin-io Apr 15, 2023
b4aed19
refactor(platform-test-suite): use wasm-dpp primitives directly from …
markin-io Apr 15, 2023
93cdc95
fix(wasm-dpp): logger double init
markin-io Apr 15, 2023
d93b94b
chore(sdk): linter
markin-io Apr 15, 2023
4ae0bf4
fix validateDocumentsUniquenessByIndicesFactory.spec.js
antouhou Apr 17, 2023
0ebe4c3
Merge remote-tracking branch 'origin/feat/wasm-dpp-integration' into …
antouhou Apr 17, 2023
4e3fa28
fix tests back
antouhou Apr 17, 2023
895158f
an attempt to fix identifiers conversion
antouhou Apr 17, 2023
7c40b47
fix formatting
antouhou Apr 17, 2023
e699860
Merge branch 'v0.24-dev' into feat/wasm-dpp-integration
Apr 17, 2023
c963f1b
chore: update dependencies
Apr 17, 2023
d191573
fix: merge issues
Apr 17, 2023
c0e9dfe
style: fix linter
shumkov Apr 17, 2023
4298f61
ci: self-hosted runners and cache (#912)
shumkov Apr 17, 2023
f02155b
ci: fix docker login
shumkov Apr 17, 2023
53a1536
ci: remove inputs
shumkov Apr 17, 2023
b840edc
ci: remove inputs
shumkov Apr 17, 2023
f78cadc
tests: fix flaky test suite credits issue
shumkov Apr 17, 2023
1f363b8
tests: fix flaky test suite credits issue
shumkov Apr 17, 2023
ce70f83
chore: empty commit to fix CI
shumkov Apr 18, 2023
19c724f
chore: empty commit to fix CI
shumkov Apr 18, 2023
cedfa84
tests: fix flaky test suite credits issue
shumkov Apr 18, 2023
e27e244
tests: more credits
shumkov Apr 18, 2023
eff534e
chore: update dashcore-lib to 0.20.3
jawid-h Apr 18, 2023
17716f8
ci: use latest buildx cache action
shumkov Apr 18, 2023
e0b02fa
Merge remote-tracking branch 'origin/feat/wasm-dpp-integration' into …
shumkov Apr 18, 2023
6a0a0c4
tests: increase funding and add some waits
shumkov Apr 18, 2023
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
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ packages/*/tests
packages/*/doc
packages/*/docs
packages/*/dist
packages/*/wasm
packages/*/node_modules

!packages/platform-test-suite/test
Expand Down
110 changes: 75 additions & 35 deletions .github/workflows/all-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,22 @@ jobs:

test-suite:
name: Run Platform Test Suite
runs-on: ubuntu-22.04
timeout-minutes: 60
runs-on: self-hosted
timeout-minutes: 30
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
CARGO_INCREMENTAL: "false"
steps:
- name: Check out repo
uses: actions/checkout@v3

- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Setup Node.JS
uses: actions/setup-node@v3
with:
Expand All @@ -81,8 +91,18 @@ jobs:
toolchain: stable
target: wasm32-unknown-unknown

- name: Enable Rust cache
- name: Setup Cargo cache
uses: Swatinem/rust-cache@v2
with:
# Don't cache ./target, as it takes tons of space, use sccache instead.
cache-targets: false
# We set a shared key, as our cache is reusable between jobs
shared-key: rust-cargo

- name: Setup Rust compilation cache
uses: mozilla-actions/sccache-action@v0.0.3
with:
version: "v0.4.1"

- name: Enable corepack
run: corepack enable
Expand All @@ -107,25 +127,21 @@ jobs:
- name: Set up Docker BuildX
id: buildx
uses: docker/setup-buildx-action@v2
with:
version: v0.9.1
install: true
driver-opts: image=moby/buildkit:buildx-stable-1

- name: Enable buildkit cache
- name: Enable docker cache mount
uses: actions/cache@v3
with:
path: /tmp/buildkit-cache/buildkit-state.tar
key: ${{ runner.os }}-buildkit-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildkit-
${{ runner.os }}-buildkit

- name: Load buildkit state from cache
uses: dashevo/gh-action-cache-buildkit-state@skip-cachemount
- name: Load docker cache mount
uses: dashevo/gh-action-cache-buildkit-state@master
with:
builder: buildx_buildkit_${{ steps.buildx.outputs.name }}0
cache-path: /tmp/buildkit-cache
cache-max-size: 6gb
cache-max-size: 3g

- name: Setup local network
run: yarn configure
Expand All @@ -142,9 +158,19 @@ jobs:

test-suite-browsers:
name: Run Platform Test Suite in Browsers
runs-on: ubuntu-22.04
timeout-minutes: 60
runs-on: self-hosted
timeout-minutes: 30
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
CARGO_INCREMENTAL: "false"
steps:
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Check out repo
uses: actions/checkout@v3

Expand All @@ -159,8 +185,18 @@ jobs:
toolchain: stable
target: wasm32-unknown-unknown

- name: Enable Rust cache
- name: Setup Cargo cache
uses: Swatinem/rust-cache@v2
with:
# Don't cache ./target, as it takes tons of space, use sccache instead.
cache-targets: false
# We set a shared key, as our cache is reusable between jobs
shared-key: rust-cargo

- name: Setup Rust compilation cache
uses: mozilla-actions/sccache-action@v0.0.3
with:
version: "v0.4.1"

- name: Enable corepack
run: corepack enable
Expand All @@ -185,25 +221,21 @@ jobs:
- name: Set up Docker BuildX
id: buildx
uses: docker/setup-buildx-action@v2
with:
version: v0.9.1
install: true
driver-opts: image=moby/buildkit:buildx-stable-1

- name: Enable buildkit cache
- name: Enable docker cache mount
uses: actions/cache@v3
with:
path: /tmp/buildkit-cache/buildkit-state.tar
key: ${{ runner.os }}-buildkit-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildkit-
${{ runner.os }}-buildkit

- name: Load buildkit state from cache
uses: dashevo/gh-action-cache-buildkit-state@skip-cachemount
- name: Load docker cache mount
uses: dashevo/gh-action-cache-buildkit-state@master
with:
builder: buildx_buildkit_${{ steps.buildx.outputs.name }}0
cache-path: /tmp/buildkit-cache
cache-max-size: 6gb
cache-max-size: 3g

- name: Setup local network
run: yarn configure
Expand All @@ -229,6 +261,12 @@ jobs:
- name: Check out repo
uses: actions/checkout@v3

- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Setup Node.JS
uses: actions/setup-node@v3
with:
Expand All @@ -245,10 +283,19 @@ jobs:
with:
toolchain: stable
target: wasm32-unknown-unknown
components: clippy

- name: Setup wasm-bindgen
run: cargo install -f wasm-bindgen-cli
- name: Setup Cargo cache
uses: Swatinem/rust-cache@v2
with:
# Don't cache ./target, as it takes tons of space, use sccache instead.
cache-targets: false
# We set a shared key, as our cache is reusable between jobs
shared-key: rust-cargo

- name: Setup Rust compilation cache
uses: mozilla-actions/sccache-action@v0.0.3
with:
version: "v0.4.1"

- name: Enable corepack
run: corepack enable
Expand All @@ -268,14 +315,7 @@ jobs:
run: yarn install

- name: Build package and dependencies
run: yarn build --filter "+${{ inputs.package }}"
if: ${{ !inputs.start-local-network }}

- name: Build all packages
run: yarn build
if: ${{ inputs.start-local-network }}
run: yarn build --filter "+dash"

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:javascript"
Comment thread
shumkov marked this conversation as resolved.
1 change: 1 addition & 0 deletions .github/workflows/dapi-grpc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@ jobs:
js-checks:
name: JS
uses: ./.github/workflows/js-checks.yml
secrets: inherit
with:
package: '@dashevo/dapi-grpc'
1 change: 1 addition & 0 deletions .github/workflows/dapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,6 @@ jobs:
js-checks:
name: JS
uses: ./.github/workflows/js-checks.yml
secrets: inherit
with:
package: '@dashevo/dapi'
1 change: 1 addition & 0 deletions .github/workflows/dash-spv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ jobs:
js-checks:
name: JS
uses: ./.github/workflows/js-checks.yml
secrets: inherit
with:
package: '@dashevo/dash-spv'
1 change: 1 addition & 0 deletions .github/workflows/dashmate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,6 @@ jobs:
js-checks:
name: JS
uses: ./.github/workflows/js-checks.yml
secrets: inherit
with:
package: 'dashmate'
1 change: 1 addition & 0 deletions .github/workflows/dashpay-contract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@ jobs:
js-checks:
name: JS
uses: ./.github/workflows/js-checks.yml
secrets: inherit
with:
package: '@dashevo/dashpay-contract'
67 changes: 51 additions & 16 deletions .github/workflows/js-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,22 @@ on:
jobs:
lint:
name: Linting
runs-on: ubuntu-22.04
timeout-minutes: 20
runs-on: self-hosted
timeout-minutes: 15
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
CARGO_INCREMENTAL: "false"
steps:
- name: Check out repo
uses: actions/checkout@v3

- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Setup Node.JS
uses: actions/setup-node@v3
with:
Expand All @@ -43,8 +53,18 @@ jobs:
toolchain: stable
target: wasm32-unknown-unknown

- name: Enable Rust cache
- name: Setup Cargo cache
uses: Swatinem/rust-cache@v2
with:
# Don't cache ./target, as it takes tons of space, use sccache instead.
cache-targets: false
# We set a shared key, as our cache is reusable between jobs
shared-key: rust-cargo

- name: Setup Rust compilation cache
uses: mozilla-actions/sccache-action@v0.0.3
with:
version: "v0.4.1"

- name: Enable corepack
run: corepack enable
Expand All @@ -71,9 +91,13 @@ jobs:

test:
name: Tests
runs-on: ubuntu-22.04
timeout-minutes: 60
runs-on: self-hosted
timeout-minutes: 30
if: ${{ !inputs.skip-tests }}
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
CARGO_INCREMENTAL: "false"
steps:
- name: Setup Firefox
uses: browser-actions/setup-firefox@latest
Expand All @@ -84,6 +108,12 @@ jobs:
- name: Check out repo
uses: actions/checkout@v3

- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Setup Node.JS
uses: actions/setup-node@v3
with:
Expand All @@ -95,8 +125,18 @@ jobs:
toolchain: stable
target: wasm32-unknown-unknown

- name: Enable Rust cache
- name: Setup Cargo cache
uses: Swatinem/rust-cache@v2
with:
# Don't cache ./target, as it takes tons of space, use sccache instead.
cache-targets: false
# We set a shared key, as our cache is reusable between jobs
shared-key: rust-cargo

- name: Setup Rust compilation cache
uses: mozilla-actions/sccache-action@v0.0.3
with:
version: "v0.4.1"

- name: Enable corepack
run: corepack enable
Expand All @@ -120,6 +160,7 @@ jobs:
env:
NODE_ENV: test

# TODO: We build second time here, but with cache it must be quick
- name: Build SDK
run: yarn build --filter "+dash"
if: ${{ inputs.start-local-network }}
Expand All @@ -133,28 +174,22 @@ jobs:
- name: Set up Docker BuildX
id: buildx
uses: docker/setup-buildx-action@v2
with:
version: v0.9.1
install: true
driver-opts: image=moby/buildkit:buildx-stable-1
if: ${{ inputs.start-local-network }}

- name: Enable buildkit cache
- name: Enable docker cache mount
uses: actions/cache@v3
with:
path: /tmp/buildkit-cache/buildkit-state.tar
key: ${{ runner.os }}-buildkit-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildkit-
if: ${{ inputs.start-local-network }}
${{ runner.os }}-buildkit

- name: Load buildkit state from cache
uses: dashevo/gh-action-cache-buildkit-state@v1
- name: Load docker cache mount
uses: dashevo/gh-action-cache-buildkit-state@master
with:
builder: buildx_buildkit_${{ steps.buildx.outputs.name }}0
cache-path: /tmp/buildkit-cache
cache-max-size: 3g
if: ${{ inputs.start-local-network }}

- name: Setup local network
run: yarn configure
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/js-dapi-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
js-checks:
name: JS
uses: ./.github/workflows/js-checks.yml
secrets: inherit
with:
package: '@dashevo/dapi-client'
install-browsers: true
1 change: 1 addition & 0 deletions .github/workflows/js-dash-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
js-checks:
name: JS
uses: ./.github/workflows/js-checks.yml
secrets: inherit
with:
package: 'dash'
start-local-network: true
Expand Down
Loading