Hernando Castano
6fd1651b21
Bump Substrate to RC5 ( #243 )
...
* Bump Substrate to rc5
* Bump async-std to v1.6.2
There was a bug in v.1.6.0 which kept us locked to v1.5 releases.
I think that's fixed now so I'm bumping this.
* Update bridge node runtime
* Update node service
* Update CLI
* Add SystemWeightInfo type to test runtimes
* Add RPC extension builder to service
* Directly return rpc_extensions_builder
* Allow complex types in service
This comes from Substrate, so I'd rather just keep the code as is
* Update benchmarking code for new CLI
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
e665f93608
Add traces to PoA builtin ( #258 )
...
* replace debug printlns with traces
* cargo fmt --all
* fixed traces
* update RUST_LOG in docker-compose
* only print hex data if error has occured
* updated OE hash
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
ebdfffc4b1
Fixed best_ethereum_block() call parameters encoding ( #188 )
...
* fixed best_ethereum_block() params encoding
* updated versions
2024-04-10 10:28:37 +02:00
Hernando Castano
3236aa8000
Update Substrate to rc4 ( #175 )
...
* Bump Substrate to rc4
* Add BaseCallFilter type
* Add DenyUnsafe to SystemApi extension
* Use new ServiceBuilder build functions
* Add BaseCallFilter to test runtimes
* Remove old comments
* Add `rev` and `git` fields back
Turns out that if you don't have these future release candidates will
be used if available. For instance, once `rc5` is released a fresh pull
would use that instead of `rc4` which is what we want.
* Use tag release instead of specific commit
Will make scripted updates easier in the future
* Add short script to update between `rc` versions
* Update scripts/update_rc.sh
Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com >
2024-04-10 10:28:37 +02:00
Denis S. Soldatov aka General-Beck
e9a67d334c
Add cargo deny ( #166 )
...
* Add cargo deny
* deny - master
* Copy deny.toml to .
* cargo deny check
* upload artifacts
* install cargo deny
* typo
* up install cargo deny
* update archive
* typo
* path's
* allow failure cargo deny
* allew failure log
* cargo deny init
* add deny.toml and compare with embark actions
* fix options
* Fix cargo deny.
* Remove cargo audit (same as deny)
Co-authored-by: Tomasz Drwięga <tomasz@parity.io >
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
b701c2be8d
Update Substrate to latest master (rc3) ( #129 )
...
* Substrate 606c56d2e2f69f68f3947551224be6a3515dff60
* update jsonrpsee
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
a7e7c895f6
Bump substrate version ( #120 )
...
* bump substrate
* cargo fmt --all
2024-04-10 10:28:37 +02:00
dependabot-preview[bot]
04c091a050
Bump ethereum-types from 0.9.1 to 0.9.2 ( #95 )
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
dependabot-preview[bot]
16d49f6417
Bump finality-grandpa from 0.12.1 to 0.12.2 ( #86 )
2024-04-10 10:28:37 +02:00
dependabot-preview[bot]
c2bd5fbbf3
Bump finality-grandpa from 0.11.2 to 0.12.1 ( #82 )
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