Tomasz Drwięga
|
bdf6901ce2
|
Fix clippy suggestions. (#179)
* Fix clippy errors.
* Cargo fmt.
* Enable clippy checks.
* Create if does not exist.
* Fix warnings and enable sccache for clippy.
* chmod +x
* Revert and ignore errors.
* Update cancel-workflow-action.
* Fixes.
* Clippy fixes.
* Fix compilation.
* Fix new clippy warnings.
* fmt --all
* Fix the rest.
* fmt --all
* Conditional.
* Bump smallvec.
* Use separate cache dir for clippy to prevent races.
* Remove unused imports in tests
* Remove "useless conversion"
* Move clippy to main worfklow to avoid clashes.
* Fix clippy error.
* Fix remaning clippy errors.
* cargo fmt --all
Co-authored-by: Hernando Castano <castano.ha@gmail.com>
|
2024-04-10 10:28:37 +02:00 |
|
Svyatoslav Nikolsky
|
456515e08b
|
Fix sub2eth synchronization (#172)
* ease serde version requirements (to build OE with builtin)
* trace + fix completion notifications
* check incompletion on submit
* fix compilation
* do not ask for synced blocks when queue is empty
* cargo fmt --all
* Update relays/ethereum/src/ethereum_client.rs
Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com>
* remove closure
* fn submit_substrate_header() -> Option<RpcError>
Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com>
|
2024-04-10 10:28:37 +02:00 |
|
Svyatoslav Nikolsky
|
c9e81e48b5
|
Process finality proofs in solidity PoA -> Substrate contract (#69)
* solidity contract
* continue
* upd
* cargo update
* fixes
* ehtereum_headers -> headers
* extracted some common stuff
* ethereum_sync.rs -> sync.rs
* make sync generic
* continue extracting
* continue
* add eth-contract argument
* continue
* some fixes
* contract v2
* continue
* more fixes
* more fixes
* deal with duplicated params
* removed multiple call_rpc variants
* bail_on_error!()
* fn submit_ethereum_transaction
* more fixes
* cargo fmt --all
* fix
* bail_on_arg_error!()
* fix
* fix
* remove async_extra stuff
* start work on finality builtin
remove async_extra stuff
continue
continue
local testnet (Alice + Bob) for node
* added TODO
* substrate-bridge.json -> substrate-bridge-abi.json
* get rid of substrate transactions hashes
* get rid of ethereum transactions hashes
* extracted contract bytecode to separate file
* cargo fmt --all
* avoid duplicate import in contracts
* removed Default::default()
* swapped configurations for sub2eth && eth2sub
* fix compilation
* do not double gas limit when submitting Substrate headers
* fix finality storage
* at least 1 validator required
* shift_session_manager_works
* cargo fmt --all
* solidity contract removed
* consts
* extracted solc compilation details to separate file
* removed (obsolete in future Vec<u8> justification)
* fixed cli option description
* fix typos
* fix grumble
* extracted constants
* log decoded header
* new substrate version + actually verify justification
* intermediate cargo fmt --all
* comments
* disable completion data resubmission
* increased timeouts + _MS -> Duration
* forget completion data after submission
* builtin tests
* headers tests
* cargo fmt --all
* update contract
* Update relays/ethereum/src/ethereum_sync_loop.rs
Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com>
* Update relays/ethereum/src/ethereum_sync_loop.rs
Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com>
* added docs
* OwnedFutureOutput
* more docs fixes
* cargo fmt --all
* encode headers
* consts + docs
* aliases again
* cargo fmt --all
* Update relays/ethereum/src/ethereum_sync_loop.rs
Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com>
* Update relays/ethereum/src/ethereum_sync_loop.rs
Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com>
* Use Duration::from_secs() instead of from_millis()
* grumbles
* Update relays/ethereum/src/headers.rs
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>
* Update relays/ethereum/src/headers.rs
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>
* incomplete_headers_are_still_incomplete_after_advance
* add hex-encoded headers to substrate_header_without_signal_parsed
* cargo fmt --all
* Update relays/ethereum/src/sync_loop.rs
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>
* Update relays/ethereum/src/headers.rs
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>
* Update relays/ethereum/src/headers.rs
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>
* Update relays/ethereum/src/headers.rs
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>
* Update relays/ethereum/src/headers.rs
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>
* Update relays/ethereum/src/headers.rs
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>
* Update relays/ethereum/src/headers.rs
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>
* Update relays/ethereum/src/headers.rs
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>
* added comments on Extra and Completion
Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com>
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>
|
2024-04-10 10:28:37 +02:00 |
|
Svyatoslav Nikolsky
|
3d15ac7c90
|
Solidity contract that accepts unverified substrate headers (#65)
* solidity contract
* continue
* upd
* cargo update
* fixes
* ehtereum_headers -> headers
* extracted some common stuff
* ethereum_sync.rs -> sync.rs
* make sync generic
* continue extracting
* continue
* add eth-contract argument
* continue
* some fixes
* contract v2
* continue
* more fixes
* more fixes
* deal with duplicated params
* removed multiple call_rpc variants
* bail_on_error!()
* fn submit_ethereum_transaction
* more fixes
* cargo fmt --all
* fix
* bail_on_arg_error!()
* fix
* fix
* remove async_extra stuff
* substrate-bridge.json -> substrate-bridge-abi.json
* get rid of substrate transactions hashes
* get rid of ethereum transactions hashes
* extracted contract bytecode to separate file
* cargo fmt --all
* avoid duplicate import in contracts
* removed Default::default()
* swapped configurations for sub2eth && eth2sub
* fix compilation
* do not double gas limit when submitting Substrate headers
* cargo fmt --all
* solidity contract removed
* consts
* extracted solc compilation details to separate file
* removed (obsolete in future Vec<u8> justification)
* fixed cli option description
* fix typos
* fix grumble
* extracted constants
* log decoded header
* cargo fmt --all
* comment
|
2024-04-10 10:28:37 +02:00 |
|
Svyatoslav Nikolsky
|
d631178e41
|
Make relay generic over source/target chains (#58)
* renamed to-be-generic files
* make everything required generic over source/target chains
* some more fixes
* cargo fmt --all
* trait functions -> trait constants
* cargo --fmt --all
|
2024-04-10 10:28:37 +02:00 |
|