Commits on Source (18)
-
Éloïs authored99fb985b
-
Éloïs authored898ccfc8
-
Éloïs authored213df4bc
-
Éloïs authored4bf87cec
-
Éloïs authored245c8f9f
-
Éloïs authored89b24b69
-
Éloïs authored
* feat(runtime): unfilter go_online on gdev runtime
5ec4ddec -
* run real benchmarks for pallet oneshot * fix(oneshot-account): use benchmarking * fix: metadata should comply subxt & polkadotjs expectations * feat(oneshot-account): Pallet oneshot-account
c89b598e -
Éloïs authored194f75b7
-
Éloïs authoredd785ae97
-
Éloïs authored
* fix(binary): get ParamsAppliedAtGenesis values from json genesis conf
4249248e -
Éloïs authorede079cab2
-
Éloïs authored
* feat(identity): add call force_set_first_eligible_ud * fix(runtime): first_eligible_ud not init for post-genesis identities * tests(gdev): add test test_validate_new_idty_after_few_uds
e2fe0c0a -
Éloïs authored
* upgrade substrate to polkadot-v0.9.26
4310860a -
Éloïs authored
* feat(binary): remove rocksdb
fe298c11 -
Éloïs authored
* add test test_smith_member_cant_revoke_its_idty * add test test_smith_member_cant_change_idty_address * migration v400 * fix(idty): smish members can't revoke nor change address * pallet ud: remove temporary hotfix call * deps: remove librocksdb-sys * cargo config: add sub-command to run benchmarks on a pallet
89ea4cf5 -
Éloïs authored
* tests(cucumber): comment log extrinsic encoded * remove genesis param *certs_expire_on
554fe8d2
Showing
- .cargo/config 1 addition, 0 deletions.cargo/config
- Cargo.lock 537 additions, 623 deletionsCargo.lock
- Cargo.toml 50 additions, 50 deletionsCargo.toml
- docker/compose/gdev-mirror.docker-compose.yml 1 addition, 3 deletionsdocker/compose/gdev-mirror.docker-compose.yml
- docker/compose/gdev-validator.docker-compose.yml 6 additions, 7 deletionsdocker/compose/gdev-validator.docker-compose.yml
- docs/user/rpc.md 2 additions, 2 deletionsdocs/user/rpc.md
- docs/user/smith.md 2 additions, 2 deletionsdocs/user/smith.md
- end2end-tests/Cargo.toml 3 additions, 2 deletionsend2end-tests/Cargo.toml
- end2end-tests/cucumber-features/oneshot_account.feature 21 additions, 0 deletionsend2end-tests/cucumber-features/oneshot_account.feature
- end2end-tests/cucumber-genesis/default.json 6 additions, 0 deletionsend2end-tests/cucumber-genesis/default.json
- end2end-tests/cucumber-genesis/wot.json 6 additions, 0 deletionsend2end-tests/cucumber-genesis/wot.json
- end2end-tests/tests/common/balances.rs 41 additions, 38 deletionsend2end-tests/tests/common/balances.rs
- end2end-tests/tests/common/cert.rs 15 additions, 19 deletionsend2end-tests/tests/common/cert.rs
- end2end-tests/tests/common/mod.rs 29 additions, 29 deletionsend2end-tests/tests/common/mod.rs
- end2end-tests/tests/common/oneshot.rs 126 additions, 0 deletionsend2end-tests/tests/common/oneshot.rs
- end2end-tests/tests/cucumber_tests.rs 159 additions, 46 deletionsend2end-tests/tests/cucumber_tests.rs
- live-tests/Cargo.toml 2 additions, 2 deletionslive-tests/Cargo.toml
- live-tests/tests/sanity_gdev.rs 28 additions, 30 deletionslive-tests/tests/sanity_gdev.rs
- node/specs/gdev-raw.json 152 additions, 276 deletionsnode/specs/gdev-raw.json
- node/src/chain_spec.rs 2 additions, 3 deletionsnode/src/chain_spec.rs
This diff is collapsed.
... | ... | @@ -7,7 +7,7 @@ homepage = 'https://substrate.dev' |
license = 'AGPL-3.0' | ||
name = 'duniter' | ||
repository = 'https://git.duniter.org/nodes/rust/duniter-v2s' | ||
version = '0.1.0' | ||
version = '0.3.0' | ||
[package.metadata.docs.rs] | ||
targets = ['x86_64-unknown-linux-gnu'] | ||
... | ... | @@ -40,16 +40,16 @@ try-runtime = [ |
[build-dependencies] | ||
clap = { version = "3.0" } | ||
#clap_complete = { version = "3.0" } | ||
substrate-build-script-utils = { git = 'https://github.com/duniter/substrate', branch = 'duniter-substrate-v0.9.23' } | ||
substrate-build-script-utils = { git = 'https://github.com/duniter/substrate', branch = 'duniter-substrate-v0.9.26' } | ||
[dev-dependencies] | ||
rusty-hook = "^0.11.2" | ||
# Dependencies for specific targets | ||
[target.'cfg(any(target_arch="x86_64", target_arch="aarch64"))'.dependencies] | ||
sc-cli = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23", features = ["wasmtime"] } | ||
sc-service = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23", features = ["wasmtime"] } | ||
sp-trie = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23", features = ["memory-tracker"] } | ||
sc-cli = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26", default-features = false, features = ["wasmtime"] } | ||
sc-service = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26", default-features = false, features = ["wasmtime"] } | ||
sp-trie = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26", features = ["memory-tracker"] } | ||
[dependencies] | ||
... | ... | @@ -67,7 +67,7 @@ clap = { version = "3.0", features = ["derive"] } |
clap_complete = { version = "3" } | ||
futures = { version = "0.3.1", features = ["compat"] } | ||
hex = "0.4.3" | ||
jsonrpsee = { version = "0.13.0", features = ["server"] } | ||
jsonrpsee = { version = "0.14.0", features = ["server"] } | ||
lazy_static = "1.4.0" | ||
log = "0.4" | ||
maplit = '1.0.2' | ||
... | ... | @@ -77,49 +77,49 @@ serde_json = "1.0.64" |
tracing-core = "=0.1.26" | ||
# substrate dependencies | ||
frame-benchmarking = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } | ||
frame-benchmarking-cli = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } | ||
pallet-grandpa = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } | ||
pallet-transaction-payment-rpc = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } | ||
pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } | ||
sc-basic-authorship = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } | ||
sc-chain-spec = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } | ||
sc-cli = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } | ||
sc-client-api = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } | ||
sc-consensus = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } | ||
babe = { package = "sc-consensus-babe", git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } | ||
manual-seal = { package = "sc-consensus-manual-seal", git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } | ||
sc-consensus-uncles = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } | ||
sc-executor = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } | ||
sc-finality-grandpa = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } | ||
sc-keystore = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } | ||
sc-network = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } | ||
sc-rpc-api = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } | ||
sc-service = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } | ||
sc-telemetry = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } | ||
sc-transaction-pool = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } | ||
sc-transaction-pool-api = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } | ||
sp-api = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } | ||
sp-authority-discovery = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } | ||
sp-block-builder = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } | ||
sp-blockchain = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } | ||
sp-consensus = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } | ||
sp-consensus-babe = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } | ||
sp-core = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } | ||
sp-finality-grandpa = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } | ||
sp-inherents = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } | ||
sp-io = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } | ||
sp-offchain = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } | ||
sp-keyring = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } | ||
sp-keystore = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } | ||
sp-runtime = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } | ||
sp-session = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } | ||
sp-storage = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } | ||
sp-timestamp = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } | ||
sp-transaction-pool = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } | ||
sp-trie = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } | ||
substrate-frame-rpc-system = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } | ||
try-runtime-cli = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23", optional = true } | ||
frame-benchmarking = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" } | ||
frame-benchmarking-cli = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" } | ||
pallet-grandpa = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" } | ||
pallet-transaction-payment-rpc = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" } | ||
pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" } | ||
sc-basic-authorship = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" } | ||
sc-chain-spec = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" } | ||
sc-cli = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26", default-features = false } | ||
sc-client-api = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" } | ||
sc-consensus = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" } | ||
babe = { package = "sc-consensus-babe", git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" } | ||
manual-seal = { package = "sc-consensus-manual-seal", git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" } | ||
sc-consensus-uncles = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" } | ||
sc-executor = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" } | ||
sc-finality-grandpa = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" } | ||
sc-keystore = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" } | ||
sc-network = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" } | ||
sc-rpc-api = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" } | ||
sc-service = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26", default-features = false } | ||
sc-telemetry = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" } | ||
sc-transaction-pool = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" } | ||
sc-transaction-pool-api = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" } | ||
sp-api = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" } | ||
sp-authority-discovery = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" } | ||
sp-block-builder = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" } | ||
sp-blockchain = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" } | ||
sp-consensus = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" } | ||
sp-consensus-babe = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" } | ||
sp-core = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" } | ||
sp-finality-grandpa = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" } | ||
sp-inherents = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" } | ||
sp-io = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" } | ||
sp-offchain = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" } | ||
sp-keyring = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" } | ||
sp-keystore = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" } | ||
sp-runtime = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" } | ||
sp-session = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" } | ||
sp-storage = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" } | ||
sp-timestamp = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" } | ||
sp-transaction-pool = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" } | ||
sp-trie = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" } | ||
substrate-frame-rpc-system = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" } | ||
try-runtime-cli = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26", optional = true } | ||
[workspace] | ||
resolver = "2" | ||
... | ... | @@ -133,6 +133,7 @@ members = [ |
'pallets/duniter-wot', | ||
'pallets/identity', | ||
'pallets/membership', | ||
'pallets/oneshot-account', | ||
'pallets/authority-members', | ||
'pallets/universal-dividend', | ||
'pallets/upgrade-origin', | ||
... | ... | @@ -176,7 +177,6 @@ httparse = { opt-level = 3 } |
integer-sqrt = { opt-level = 3 } | ||
keccak = { opt-level = 3 } | ||
libm = { opt-level = 3 } | ||
librocksdb-sys = { opt-level = 3 } | ||
libsecp256k1 = { opt-level = 3 } | ||
libz-sys = { opt-level = 3 } | ||
mio = { opt-level = 3 } | ||
... | ... |
end2end-tests/tests/common/oneshot.rs
0 → 100644
This diff is collapsed.