dependabot[bot]
c706071383
Bump clap from 4.1.0 to 4.1.1
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.1.0...v4.1.1 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-10 10:28:37 +02:00
Branislav Kontur
5fdc89d651
Bump xcm-v3 + substrate ( #1767 )
...
* Bump xcm-v3 + substrate
* More fixes
* Added `#[pallet::call_index`
* Fixes for MMR (TODO:plese check)
* More call indexes
* Cumulus bump
* Fixes for mmr
* Fixes for weights
* Fixes for xcm
* MMR fixes + cargo fmt
* Fix some rpc errors (bump jsonrpsee version)
* Fix cumulus stuff
* Fixes cumulus
* clippy
* more clipy
* Fix test + unused deps
* PR fixes
* cargo update (bump xcm-v3)
Co-authored-by: Serban Iorga <serban@parity.io >
2024-04-10 10:28:37 +02:00
Branislav Kontur
2c0b6b73e0
Bump xcm v3 + substrate
...
* Bumping substrate/polkadot/cumulus
* Update Cargo.lock
* Fixes
* Fixes for mmr
* Bump clap
* Fix for millau - added CompatibilityMode
* Fixes for rialto-parachain
* Align everywhere branch='master' and just use overrides from main Cargo.toml
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
a3dc2d2748
Bump Substrate/Polkadot/Cumulus refs (aka Weights v1.5) ( #1597 )
...
* update Substrate + Polkadot + Cumulus refs
* Origin -> RuntimeOrigin
* weights v1.5
* update refs once again + `cargo test -p pallet-bridge-grandpa` works
* started work on `cargo test -p pallet-bridge-messages`
* cargo test -p pallet-bridge-relayers
* cargo test -p pallet-bridge-parachains
* cargo test -p millau-runtime
* cargo test -p bridge-runtime-common
* cargo test -p rialto-runtime
* cargo test -p rialto-parachain-runtime
* cargo test -p millau-bridge-node
* cargo test -p rialto-bridge-node
* cargo test -p rialto-parachain-collator
* cargo test -p messages-relay
* cargo test -p parachains-relay
* cargo test -p substrate-relay
* cargo test --all
* cargo check -p millau-runtime --locked --features runtime-benchmarks
* fix remaining test
* fmt
* try to allow clippy failure temporarily
* Revert "try to allow clippy failure temporarily"
This reverts commit d1b6593580f07e0dbeecb7ab0aa92cee98888ed3.
* use min_by
* Revert "use min_by"
This reverts commit 33042f49ed37e8dd0505370289e17f03bf1a56ee.
* Revert "Revert "use min_by""
This reverts commit 1d2204f0b14dc81e5650bb574dedb5fa78c7097d.
* trigger CI
* Revert "trigger CI"
This reverts commit 259d91b5606743bba9d043c69f07eac6c8700ef5.
* new day, new clippy warning
* more clippy issues
2024-04-10 10:28:37 +02:00
Branislav Kontur
d64815cdef
Cleaning deps + satisfy `cargo build --release --all-targets --all-fe… ( #1587 )
...
* Cleaning deps + satisfy `cargo build --release --all-targets --all-features`
* PR fixes
2024-04-10 10:28:37 +02:00
Dan Shields
e9d7adf8fd
rm substrate.dev homepage ( #1506 )
...
new docs page
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
c538a39816
Switch to gav-xcm-v3 branch to be able to test bridges + XCMv3 integration ( #1378 )
...
* switch to gav-xcm-v3 branch (wip)
* add comment
* play with CI
* keep playing with CI
* play with CI
* trigger CI
* Revert "trigger CI"
This reverts commit fc35ac648fe6a3ea8e710a2e07dfee7d8762c6c4.
2024-04-10 10:28:37 +02:00
Adrian Catangiu
14b27a0209
Update Substrate/Polkadot/Cumulus references ( #1364 )
...
cumulus: b468d0c33e
polkadot: 827792ca833396c82c726eda0bc2ad32ecddba73
substrate: 666f39b8a22108f57732215de006518738034ba2
bump serde_json to 1.0.79
sync changes from https://github.com/paritytech/substrate/pull/11022
fixed clippy warnings
Signed-off-by: acatangiu <adrian@parity.io >
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
65c2c0ccce
Update Substrate/Polkadot/Cumulus references ( #1353 )
...
* cumulus: 4e95228291
polkadot: 975e780ae0d988dc033f400ba822d14b326ee5b9
substrate: 89fcb3e4f62d221d4e161a437768e77d6265889e
* fix refs
* sync changes from https://github.com/paritytech/polkadot/pull/3828
* sync changes from https://github.com/paritytech/polkadot/pull/4387
* sync changes from https://github.com/paritytech/polkadot/pull/3940
* sync with changes from https://github.com/paritytech/polkadot/pull/4493
* sync with changes from https://github.com/paritytech/polkadot/pull/4958
* sync with changes from https://github.com/paritytech/polkadot/pull/3889
* sync with changes from https://github.com/paritytech/polkadot/pull/5033
* sync with changes from https://github.com/paritytech/polkadot/pull/5065
* compilation fixes
* fixed prometheus endpoint startup (it now requires to be spawned within tokio context)
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
2bf5b23262
edition = "2021" ( #1346 )
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
ea2d6f898d
Bump Substrate/Polkadot/Cumulus refs ( #1295 )
...
Substrate: 31d90c202d6df9ce3837ee55587b604619a912ba
Polkadot: 60df3c55c711c2872872d6220f98b2611340e051
Cumulus: a9630551c2
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
1ec2edd357
reuse polkadot-service code ( #1273 )
2024-04-10 10:28:37 +02:00
Adrian Catangiu
1fb70c7ed7
Integrate BEEFY with Rialto & Millau runtimes ( #1227 )
...
* Add Beefy pallet to Rialto runtime
* Add Beefy gadget to Rialto node
* Add MMR pallet to Rialto runtime
* Add Beefy pallet to Millau runtime
* Add Beefy gadget to Millau node
* Add MMR pallet to Millau runtime
* Add pallet_beefy_mmr to Millau runtime
* Add pallet_beefy_mmr to Rialto runtime
* Implement MMR and BEEFY APIs in Rialto
* fix unit tests
- should_encode_bridge_send_message_call() tests for new
runtime encoding resulted from newly added pallets.
- runtime size_of::<Call>() slightly increased from newly
added pallets.
* fix grumbles
* tighten clippy allowances
* fix more grumbles
* Add MMR RPC to Rialto and Millau nodes
Also implement MmrApi in Millau runtime.
* rialto: use upstream polkadot_client::RuntimeApiCollection
2024-04-10 10:28:37 +02:00
Antonio Dropulic
7b30098a12
update dependencies ( #1229 )
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
e23266c7e6
Bump dependencies ( #1180 )
...
* substrate: d0f6c1c60da22e04dd25c2eca46ebfe6f1571af0
polkadot: dd4b2e6a34a08a01b876d14641e99e7011be3463
cumulus: 9379cd6c18
* fmt
* fixed lost refs
* spelling
* benckhmarks
* fmt
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
70f87e826c
Add rialto-parachain runtime and node ( #1142 )
...
* Substrate: 63b32fbaa2764c0a8ee76b70cdfa0fcb59b7181f
Polkadot: 7229ab87acf5bc5d4d10655ad1a9819a1e317442
Cumulus: d5284b0e78
* rialto parachain runtime
* fixed tests
* add node + bump refs (not compiling yet):
Substrate: 630422d6108cbaaca893ab213dde69f3bdaa1f6b
Polkadot: 7229ab87acf5bc5d4d10655ad1a9819a1e317442
Cumulus: 5af2990cfd
GrandpaBridgeGadget: c152c45ac331eb8ab40d956ab1d008d181810ef4
* fix compilation (collator is not working)
* more fixes
* fmt
* spellcheck
* fix warnings
* fix compilation
* fmt
* trigger CI
* trigger CI
* Revert "trigger CI"
This reverts commit a31f53cec47909817b31a48f3c9f1abd9321f72c.
* benchmarks
* fix benchmarks
* fix again
* Revert "Revert "trigger CI""
This reverts commit 1dea8b42ac8bca830dea982fd2613eb89d607a6c.
* Revert "Revert "Revert "trigger CI"""
This reverts commit 8fb74fa5eba483b7f6a3ce3e25a60757aef4c6bc.
* try fix
* lost lock file
* spellcheck
* try to disable sccache for cargo check
* Revert "Revert "Revert "Revert "trigger CI""""
This reverts commit f157461482d4c1d19156715c4b1ee2acb169531b.
* try to disable again
* disable sccache for test
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
79143f6ec6
Add parachain pallets to rialto runtime ( #1053 )
...
* use BABE to author blocks on Rialto (previously: Aura)
* removed extra script
* use bp_rialto::Moment
* fix tests
* Babe should control session end
* add parachain pallets to Rialto runtime
* add parachain pallets to rialto runtime + add parachains inherent data provider to node
* remove script again
* fmt
* allow unlicensed crates
* spellcheck
* fix compilation
2024-04-10 10:28:37 +02:00
Squirrel
8b52cd2593
Remove unused deps ( #1102 )
...
* remove unused dev deps
* Removing unused deps
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
08fd53adef
Use BABE to author blocks on Rialto (previously: Aura) ( #1050 )
...
* use BABE to author blocks on Rialto (previously: Aura)
* removed extra script
* use bp_rialto::Moment
* fix tests
* Babe should control session end
* test
* Revert "test"
This reverts commit 4bbbd76b1fe0aa65002fcfa600cfdc6d15c899e2.
* clippy
* fix test
* Revert "Revert "test""
This reverts commit e9220184d4a14ef4f5a792b239e835528d3baa31.
* Revert "Revert "Revert "test"""
This reverts commit 9f56a5528945f1d8f82c6346826be68207bf9c75.
2024-04-10 10:28:37 +02:00
Chevdor
c8aeb11b26
Update the wasm builder to substrate master ( #1029 )
...
* chore: update the wasm builder to substrate master
* Bump Substrate
* Update weight of sending remarks
ref https://github.com/paritytech/polkadot/pull/3354
Co-authored-by: Hernando Castano <hernando@hcastano.com >
2024-04-10 10:28:37 +02:00
Hernando Castano
92b1860f5a
Bump Substrate to ec180313 ( #955 )
...
* Bump Substrate to commit `0856e0729c5f9cd5d398b93680ab154fe486e588`
* Update service to use new inherent data client
Relevant Substrate PR: https://github.com/paritytech/substrate/pull/8526
* Appease Clippy
2024-04-10 10:28:37 +02:00
Tomasz Drwięga
fd44cab992
Add properties to Chain Spec ( #917 )
...
* Add properties to chainspec.
* Update bin/millau/node/src/chain_spec.rs
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com >
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com >
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
0d60f42b5e
Use Substrate state_getReadProof RPC method to get storage proofs ( #893 )
...
* use Substrate state_getReadProof method instead of pallet-bridge-messages-rpc
* Fix typo
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com >
2024-04-10 10:28:37 +02:00
Tomasz Drwięga
acb872fbb0
Flatten back the structure ( #837 )
...
* Remove chains.
* Move relay clients.
* Flatten generic.
* Fix fmt.
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
4105575794
Rename pallet-message-lane into pallet-bridge-messages ( #834 )
...
* use runtime:: prefix for message-lane pallet traces
* renamed message-lane (module and primitives) folder into messages
* replace "message lane" with "messages" where appropriate
2024-04-10 10:28:37 +02:00
Tomasz Drwięga
84cd93f936
Add Westend & Rococo primitives ( #808 )
...
* Move chain primitives to a sub-folder.
* Update workspace members.
* Extract core parts of polkadot.
* cargo fmt --all
* Remove TODO.
* cargo fmt --all
* Fix crate names.
* Add to the latest API.
* cargo fmt --all
* Add nested lock files to ignore (generated during cargo fmt)
* Fix compilation.
* cargo fmt --all
* Fix ignore pattern.
* Address review comments.
2024-04-10 10:28:37 +02:00
Tomasz Drwięga
8f11732bb9
Uniform git dependencies (Backport of substrate#2589) ( #805 )
...
* Make Substrate deps uniform
* Rest of the deps.
* Fix broken merge.
* Revert substrate.
* Fix tests
Co-authored-by: Pierre Krieger <pierre.krieger1708@gmail.com >
2024-04-10 10:28:37 +02:00
Tomasz Drwięga
903018db3d
Add Transaction Payment Custom RPC ( #806 )
...
* Transaction payment RPC.
* Add payment RuntimeApi to fix the build.
* cargo fmt --all
2024-04-10 10:28:37 +02:00
Hernando Castano
f1553e3de9
Update Substrate Node build script ( #786 )
...
Co-authored-by: Tomasz Drwięga <tomasz@parity.io >
2024-04-10 10:28:37 +02:00
Tomasz Drwięga
c3d651d29a
Add inspect command to take a look at extrinsics. ( #762 )
...
* Add inspect command to take a look at extrinsics.
* cargo fmt --all
* New weight for on-chain remark in tests
* Minor style tweaks.
Co-authored-by: adoerr <0xad@gmx.net >
2024-04-10 10:28:37 +02:00
Hernando Castano
ac1d12e607
Bump Substrate Dependency ( #684 )
...
* Bump Substrate to commit `0b0d124d5`
* Get Millau node compiling
* Get Rialto node compiling
* Increase account reference count before test
* Fix Clippy warnings for Millau node
* Fix Clippy warnings for Rialto node
* Trigger build.
Co-authored-by: Tomasz Drwięga <tomasz@parity.io >
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
0f56f18778
Use real weights to compute message delivery and dispatch fee ( #598 )
...
* message fee formula
* update GetDelvieryConfirmationTransactionFee
* include cost of transactions (i.e. not only dispatch cost) in delivery_and_dispatch_fee
* endow relayers fund account
* include db ops weight in max tx weight estimation
* (in bytes)
Co-authored-by: Hernando Castano <castano.ha@gmail.com >
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
595481f02e
Enable Wasmtime and Remove secp256k1 ( #593 )
...
Co-authored-by: Hernando Castano <castano.ha@gmail.com >
2024-04-10 10:28:37 +02:00
Hernando Castano
0ff8c2437c
Cross-Chain Transfer Generator ( #535 )
...
* Attempt at adding Cross-Chain Transfer Generator
* Add Transfer subcommand for sending messages to Rialto
* Add temp helper script for sending messages
* Remove Message and Lane Ids from Dispatch Event
* Increase transfer amount used by script
* Endow derived Dave account on Rialto with funds
* Update Message generator to send more types of messages
This commit first of all updates the script to use the new CLI
commands for sending messages. Second, it adds messages which are
sent from both Target and Source origins.
* Generate messages from Root origin
* Remove dbg! logs from relayer
* Log AccountId as well as HexId
* Remove Balances logs
* Add InstanceId and MessageId back to Dispatch Event
* Add InstanceId and MessageId types for Apps
* Add missing comment
* Document derived accounts as tests
* Move shared commands to variables
* Add example usage for send_message script
* Add docs to message variants
* Fix Clippy complaint
2024-04-10 10:28:37 +02:00
dependabot-preview[bot]
c155c31f50
Bump structopt from 0.3.20 to 0.3.21 ( #562 )
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
dd7242bc79
Migrate back to Substrate master ( #528 )
...
* migrate back to Substrate master
* fmt
* clippy
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
2a6af69ff0
enable GrandpaRpcApi for Rialto ( #486 )
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
74249a0896
Integrate message-lane module RPCs into Rialto/Millau nodes ( #458 )
...
* integrate message-lane RPCs into Millau and Rialto runtime
* fmt
* use instance in InboundLanes
* moved RialtoMessageLaneKeys/MillauMessageLaneKeys inside rpc_extensions_builder to ease Substrate refs update
2024-04-10 10:28:37 +02:00
dependabot-preview[bot]
f10f09a565
Bump structopt from 0.3.19 to 0.3.20 ( #425 )
2024-04-10 10:28:37 +02:00
dependabot-preview[bot]
253d0d4774
Bump jsonrpc-core from 15.0.0 to 15.1.0 ( #412 )
2024-04-10 10:28:37 +02:00
dependabot-preview[bot]
ef4bb1d492
Bump structopt from 0.3.18 to 0.3.19 ( #411 )
2024-04-10 10:28:37 +02:00
Hernando Castano
8b8248f83f
Split Rialto and Millau Nodes ( #372 )
...
* Split the Rialto Node into a standalone crate
* Split the Millau Node into a standalone crate
* Remove `bridge-node` crate
* Add benchmarking feature to nodes
* Check that benchmarks compile in CI
* Remove nodes from CI matrix
* Update Rialto node to Substrate 2.0
* Get Millau node compiling with Substrate 2.0
* Remove extra license text
* Remove comments in TOML files
* Move nodes and runtimes into Rialto and Millau folders
* Fix dependency paths
* Remove unused script
* Add issue to benchmarking TODO
* Fix benchmark manifest paths
2024-04-10 10:28:37 +02:00