Skip to content

Commit

Permalink
Feature: �concurrent transaction tasks (#98)
Browse files Browse the repository at this point in the history
* CCCP-290, chore: rename bridge components

* CCCP-290, fix: remove vault contracts

* CCCP-290, feature: add variants decoding

* CCCP-290, test: socket event decode

* CCCP-290, fix: remove split contracts

* CCCP-290, chore: rename to router

* CCCP-290, refactor: move gas middleware

* CCCP-290, feature: impl ExecutionFilter

* CCCP-290, feature: apply ExecutionFilter

* CCCP-290, chore: apply cargo-clippy

* CCCP-290, chore: add missing doc strings

* CCCP-290, chore: update logs

* CCCP-290, fix: remove redundant balance check

* CCCP-290, fix: remove retry coefficient

* CCCP-290, chore: fix doc strings

* feature: impl asynchronous transaction tasks

* temp

* fix: remove execution filter

* refactor: move transaction tasks

* fix: remove router address

* feature: disable tx spawn on bootstrap process

* Feature: Implement `SocketRollbackHandler` and `ExecutionFilter` (#99)

* feature: impl socket rollback handler

* chore: add code comments

* chore: move periodic wait order

* feature: impl execution filter

* fix: add status checks on both src and dst chains

* fix: change display format

* chore: refactor method names

* chore: rename transaction task

* fix: rollback heartbeat await

* fix: resolve feature issues (#100)

* fix: set transaction type on start

* fix: set gas price on execution filter

* Update client/src/eth/handlers/execution_filter.rs

Co-authored-by: Min-seong Kwon <kwonarseus@gmail.com>

* Update client/src/eth/handlers/execution_filter.rs

Co-authored-by: Min-seong Kwon <kwonarseus@gmail.com>

* Update client/src/eth/handlers/execution_filter.rs

Co-authored-by: Min-seong Kwon <kwonarseus@gmail.com>

* Update periodic/src/socket_rollback_handler.rs

Co-authored-by: Min-seong Kwon <kwonarseus@gmail.com>

* Update periodic/src/socket_rollback_handler.rs

Co-authored-by: Min-seong Kwon <kwonarseus@gmail.com>

* Update periodic/src/socket_rollback_handler.rs

Co-authored-by: Min-seong Kwon <kwonarseus@gmail.com>

* Update primitives/src/periodic.rs

Co-authored-by: Min-seong Kwon <kwonarseus@gmail.com>

* Update primitives/src/periodic.rs

Co-authored-by: Min-seong Kwon <kwonarseus@gmail.com>

* chore: refactor btreemap build

* fix: resolve typo

* chore: refactor btreemap collection on service.rs

---------

Co-authored-by: Min-seong Kwon <kwonarseus@gmail.com>

* match impl/trait members order

* Remove unnecessary parentheses

* Remove unnecessary parentheses & Match impl/trait members order

* Impl `Display` instead `ToString`

* test: update socket status checker

---------

Co-authored-by: Min-seong Kwon <kwonarseus@gmail.com>
  • Loading branch information
2 people authored and SunoukMun committed Jun 25, 2024
1 parent 3e9aaf0 commit 69fb29b
Show file tree
Hide file tree
Showing 14 changed files with 1,087 additions and 815 deletions.
5 changes: 1 addition & 4 deletions client/src/eth/events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,11 @@ use super::{traits::BootstrapHandler, EthClient};
pub const DEFAULT_CALL_RETRY_INTERVAL_MS: u64 = 3000;

/// The default retries of a single transaction request.
pub const DEFAULT_TX_RETRIES: u8 = 6;
pub const DEFAULT_TX_RETRIES: u8 = 3;

/// The default transaction retry interval in milliseconds.
pub const DEFAULT_TX_RETRY_INTERVAL_MS: u64 = 3000;

/// The coefficient that will be multiplied to the retry interval on every new retry.
pub const RETRY_TX_COEFFICIENT: u64 = 2;

/// The coefficient that will be multiplied on the max fee.
pub const MAX_FEE_COEFFICIENT: u64 = 2;

Expand Down
Loading

0 comments on commit 69fb29b

Please sign in to comment.