- Jan 20, 2021
-
-
Svyatoslav Nikolsky authored
* fixed messages count check * explicit check of `messages_count` in the receive_messages_proof * change messages_count to be u32 * Update modules/message-lane/src/lib.rs Co-authored-by: Hernando Castano <[email protected]> Co-authored-by: Hernando Castano <[email protected]>
-
- Jan 14, 2021
-
-
Svyatoslav Nikolsky authored
* reward confirmation relayer * Update modules/message-lane/src/instant_payments.rs Co-authored-by: Hernando Castano <[email protected]> * added some constants * pallet_balances * removed comment * fix typo Co-authored-by: Hernando Castano <[email protected]>
-
- Jan 12, 2021
-
-
Tomasz Drwięga authored
* Remove latest_*_nonce. * cargo fmt --all * Fix tests. * cargo fmt --all * Fix benchmarking. * Update docs.
-
- Jan 06, 2021
-
-
Tomasz Drwięga authored
* Document relayers fund existence and add root account. * Introduce initialize method instead of assuming that relayer_fund_account is always required. * cargo fmt --all * Fix benchmarks. * cargo fmt --all * Fix docs for the relayer fund account.
-
- Dec 22, 2020
-
-
Svyatoslav Nikolsky authored
-
- Dec 17, 2020
-
-
Svyatoslav Nikolsky authored
* add messages count parameter to delivery transaction * fix benchmarks compilation
-
- Dec 08, 2020
-
-
Tomasz Drwięga authored
* Make sure to verify sender's origin. * Make sure to use dispatch verification. * Add tests. * cargo fmt --all * Remove superfluous lifetime. * Move the check to MessageLanVerifier. * cargo fmt --all * Fix docs.
-
Svyatoslav Nikolsky authored
* limit maximal number of unconfirmed messages at inbound lane * unrewarded_relayer_entries API * change relay to support max unrewarded relayer entries * Update modules/message-lane/src/inbound_lane.rs Co-authored-by: Tomasz Drwięga <[email protected]> * Update relays/messages-relay/src/message_lane_loop.rs Co-authored-by: Hernando Castano <[email protected]> * removed pub Co-authored-by: Tomasz Drwięga <[email protected]> Co-authored-by: Hernando Castano <[email protected]>
-
- Dec 03, 2020
-
-
Svyatoslav Nikolsky authored
* limit max number of messages in delivery tx * support max-messages-in-delivery-tx in relayer * clippy * clippy * Update modules/message-lane/src/lib.rs Co-authored-by: Tomasz Drwięga <[email protected]> Co-authored-by: Tomasz Drwięga <[email protected]>
-
- Nov 30, 2020
-
-
Hernando Castano authored
* Update some docs * Add derived account origin * Add tests for derived origin * Do a little bit of cleanup * Change Origin type to use AccountIds instead of Public keys * Update (most) tests to use new Origin types * Remove redundant test * Update `runtime-common` tests to use new Origin types * Remove unused import * Fix documentation around origin verification * Update config types to use AccountIds in runtime * Update Origin type used in message relay * Use correct type when verifying message origin * Make CallOrigin docs more consistent * Use AccountIds instead of Public keys in Runtime types * Introduce trait for converting AccountIds * Bring back standalone function for deriving account IDs * Remove AccountIdConverter configuration trait * Remove old bridge_account_id derivation function * Handle target ID decoding errors more gracefully * Update message-lane to use new AccountId derivation * Update merged code to use new Origin types * Use explicit conversion between H256 and AccountIds * Make relayer fund account a config option in `message-lane` pallet * Add note about deriving the same account on different chains * Fix test weight * Use AccountId instead of Public key when signing Calls * Semi-hardcode relayer fund address into Message Lane pallet
-
- Nov 23, 2020
-
-
Svyatoslav Nikolsky authored
* replace generic message lane APIs with chain-specific * moved SubstrateHeadersSyncPipeline to headers_pipeline.rs * substrate-specific message lane trait * Update relays/substrate/src/messages_lane.rs Co-authored-by: Hernando Castano <[email protected]> Co-authored-by: Hernando Castano <[email protected]>
-
- Nov 17, 2020
-
-
Svyatoslav Nikolsky authored
* 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 <[email protected]> * add issue reference * add assert message * grumbles * fmt * reexport weight from bp-message-lane Co-authored-by: Hernando Castano <[email protected]> Co-authored-by: Hernando Castano <[email protected]>
-
- Oct 28, 2020
-
-
Svyatoslav Nikolsky authored
* implement OutboundLaneApi and InboundLaneApi for Millau /Rialto runtimes * fixed typo
-
- Oct 22, 2020
-
-
Svyatoslav Nikolsky authored
* InboundLaneApi::latest_confirmed_nonce * Fix wording and typo Co-authored-by: Hernando Castano <[email protected]>
-
- Oct 20, 2020
-
-
Svyatoslav Nikolsky authored
* reward relayers for dispatching messages * clippy * Update modules/message-lane/src/lib.rs Co-authored-by: Hernando Castano <[email protected]> * added comment * Update modules/message-lane/src/inbound_lane.rs Co-authored-by: Tomasz Drwięga <[email protected]> * Update modules/message-lane/src/inbound_lane.rs Co-authored-by: Tomasz Drwięga <[email protected]> * SubmitterId + RelayerId -> AccountId * add confirmation_relayer arg to pay_relayer_reward * cargo fmt --all * removed verify_and_decode_messages_proof from SourceHeaderChain * &mut self -> RefCell * Optimize max messages at inbound lane (#418) * Add tests for checking messages above max limit Signed-off-by: MaciejBaj <[email protected]> * Extend the relayers entry of inbound lane by additional msg nonce Signed-off-by: MaciejBaj <[email protected]> * Support additional message nonce from inbound relayers Signed-off-by: MaciejBaj <[email protected]> * Code format Signed-off-by: MaciejBaj <[email protected]> * Merge messages range for highest relayers * Change unwrap() to ensure() while accessing relayers * Edit rustdocs for relayers deque at inbound lane data Co-authored-by: Hernando Castano <[email protected]> * Declare additional relayers A & B and use across tests consistently Signed-off-by: MaciejBaj <[email protected]> * Remove duplicates and improve naming for inbound lane tests * Fix test checking max limit per inbound lane * Correct relayers rewards loop after a proof is received * Remove redundant check for messages ahead of received range * Correct grammar at inbound lane tests rustdocs Co-authored-by: Hernando Castano <[email protected]> * Improve code quality of relayers updates
💅 Co-authored-by: Tomasz Drwięga <[email protected]> * Test dispatches above max limit from same relayer Co-authored-by: Hernando Castano <[email protected]> Co-authored-by: Tomasz Drwięga <[email protected]> * Fix typo. Co-authored-by: Hernando Castano <[email protected]> Co-authored-by: Tomasz Drwięga <[email protected]> Co-authored-by: Maciej Baj <[email protected]> Co-authored-by: Tomasz Drwięga <[email protected]>
-
- Sep 28, 2020
-
-
Svyatoslav Nikolsky authored
* split payloads (inbound/outbound/opaque/dispatch) + fees (inbound/outbound) * added tests Co-authored-by: Hernando Castano <[email protected]>
-
- Sep 25, 2020
-
-
Svyatoslav Nikolsky authored
* introduce BridgedHeaderChain trait * LaneMessageVerifier + tests * fixed tests * do not expose intenal functions * cargo fmt --all + fix no_std compilation * ByWeightDispatcher * process queued messages from message-lane::on_initialize * scheduled_messages_are_processed_from_on_initialize * flush * deal with fees + weights * drop heavy messages on dispatch * cargo fmt * clippy * fix comment * Update primitives/message-lane/src/source_chain.rs Co-authored-by: Tomasz Drwięga <[email protected]> * removed messages_processed * Update primitives/message-lane/src/source_chain.rs Co-authored-by: Hernando Castano <[email protected]> * Update modules/message-lane/src/lib.rs Co-authored-by: Hernando Castano <[email protected]> * remove queueing from message-lane * also remove queueing from RPCs * remove by-weight traces * dispatch fee * receiving -> delivery * receival -> delivery * remove extra line * Update primitives/message-lane/src/source_chain.rs Co-authored-by: Hernando Castano <[email protected]> * cargo fmt --all * clippy * let dispatch_weight to be larger than actual_dispatch_weight * post-merge fix Co-authored-by: Tomasz Drwięga <[email protected]> Co-authored-by: Hernando Castano <[email protected]>
-
- Sep 15, 2020
-
-
Svyatoslav Nikolsky authored
* remove queueing from message-lane * also remove queueing from RPCs * another trace * new clippy
-
- Aug 31, 2020
-
-
Svyatoslav Nikolsky authored
* initial commit of DummyOrdered (aka message-lane) pallet * API for relay * cargo fmt --all * some clippy + no_std * more clippy + no_std * inbound lane tests * outbound lane tests * cargo fmt --all * prune old messages whenever outbound lane is updated * do not care about MessageNonce overflow * cargo fmt --all * update crate docs * MaxHeadersToPruneAtOnce -> MaxMessagesToPruneAtOnce * MessageAction -> MessageResult * cargo fmt --all * fire MessageAccepted + MessagesDelivered * confirm message processing * cargo fmt --all * clippy * cargo fmt again * Update modules/message-lane/src/lib.rs Co-authored-by: Hernando Castano <[email protected]> * Update modules/message-lane/src/lib.rs Co-authored-by: Hernando Castano <[email protected]> * use crate::* * cargo fmt --all * Storage -> S * Update modules/message-lane/src/outbound_lane.rs Co-authored-by: Hernando Castano <[email protected]> * add method doc * Update modules/message-lane/src/inbound_lane.rs Co-authored-by: Hernando Castano <[email protected]> * added detailed module docs * Update modules/message-lane/src/lib.rs Co-authored-by: Tomasz Drwięga <[email protected]> * updated OnMessageReceived docs * prune only when new message is sent * removed #![warn(missing_docs)] * fixed merge with overlapped PR Co-authored-by: Hernando Castano <[email protected]> Co-authored-by: Tomasz Drwięga <[email protected]>
-