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
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
dd7242bc79
Migrate back to Substrate master ( #528 )
...
* migrate back to Substrate master
* fmt
* clippy
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
23f5f3cdd6
Limit messages weight in batch ( #496 )
...
* limit messages in the batch by weight/count
* fixed components compilation
* reverted obsolete parts of #469
* implement generated_messages_weights
* actually use computed weight in message proof
* fmt and clippy
* fixed TODO
* clippy
* Update relays/messages-relay/src/message_race_loop.rs
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com >
* add issue reference
* add assert message
* grumbles
* fmt
* reexport weight from bp-message-lane
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com >
Co-authored-by: Hernando Castano <castano.ha@gmail.com >
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
ef9357596f
Return cumulative dispatch weight of messages from the messageLane_proveMessages ( #469 )
...
* implement OutboundLaneApi and InboundLaneApi for Millau /Rialto runtimes
* fixed typo
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
07a514e9f7
Get substrate dependencies from crates io ( #387 )
...
* get Substrate dependencies from crates.io
* removing unused dependencies
* cargo fmt --all
* remove commented dependencies
* remove commented dependencies again
* try to fix compilation
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
f43e405b5e
update async-std ( #388 )
2024-04-10 10:28:37 +02:00
Tomasz Drwięga
be050bda84
Bump Substrate to v2.0.0 ( #382 )
...
* Change script to update versions.
* Bump versions.
* Address remainders.
* cargo fmt --all
* Fix tests.
* Whitelist BlueOak license
* Fix benchmarks?
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
c7437c7d91
Custom RPC methods for DummyOrdered pallet ( #317 )
...
* RPC for DummyOrdered
* add test for RPC
* proof returned by RPC is Vec<<Vec<u8>>>.encode()
* retrieval -> receiving
* bp-runtime crate
* bp-runtime supports no_std
* cargo fmt --all
* jsonrpc_core::BoxFuture
* Update modules/message-lane/rpc/Cargo.toml
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com >
* Update modules/message-lane/rpc/src/lib.rs
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com >
* messageLane_ prefix for RPC methods
* Update primitives/runtime/Cargo.toml
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com >
* Update primitives/runtime/src/lib.rs
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com >
* Update modules/message-lane/rpc/src/lib.rs
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com >
* Update modules/message-lane/rpc/src/lib.rs
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com >
* Update modules/message-lane/rpc/src/lib.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