-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: change the bound of ExecutorAdapter trait #1112
Conversation
/run-ci |
CI tests run on commit:
CI test list:
Please check ci test results later. |
} | ||
|
||
/// This implementation is only used for test. | ||
impl<'a> ExecutorAdapter for MemoryBackend<'a> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we put it to the test file if it's only used for testing purpose
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since the orphan rules of Rust, we can not put it to the test file.
/run-ci |
CI tests run on commit:
CI test list:
Please check ci test results later. |
parent 98a8216 author michael <michael@michael> 1679672226 +0800 committer michael <michael@michael> 1681098977 +0800 parent 98a8216 author michael <michael@michael> 1679672226 +0800 committer michael <michael@michael> 1681098964 +0800 feat(eip-155): init add logic and e2e test case fix: handle panic and add one unit test style: optimize redundancy test: add rawtx test style: cargo fmt fix: change u64 to option of chain_id style: lint test: fix test result test: add EIP-155 and preEIP-155 tests test: add pre-eip-155 legacy encode test case test: add legacy with chain_id test case test: add eip1820 test cases chore(deps): bump serde from 1.0.157 to 1.0.159 (axonweb3#1114) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> refactor: change the bound of ExecutorAdapter trait (axonweb3#1112) chore(deps): bump proc-macro2 from 1.0.52 to 1.0.55 (axonweb3#1132) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> feat(executor): remove modexp limit (axonweb3#1119) refactor: change the maximum RPC gas cap limit (axonweb3#1133) chore(deps): bump peter-evans/create-pull-request from 4 to 5 (axonweb3#1141) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
What this PR does / why we need it:
This PR does:
ExecutorAdapter
traitWhich issue(s) this PR fixes:
Fixes #
Which docs this PR relation:
Ref #
Which toolchain this PR adaption:
No Breaking Change
Special notes for your reviewer:
NIL
CI Description
cargo clippy --all --all-targets --all-features
cargo +nightly fmt --all -- --check
andcargo sort -gwc
CI Usage
CI Switch