Skip to content
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

Merged
merged 3 commits into from
Mar 29, 2023

Conversation

KaoImin
Copy link
Contributor

@KaoImin KaoImin commented Mar 28, 2023

What this PR does / why we need it:

This PR does:

  1. Change the bound of ExecutorAdapter trait
  2. Remove unused code

Which 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

CI Name Description
Chaos CI Test the liveness and robustness of Axon under terrible network condition
Cargo Clippy Run cargo clippy --all --all-targets --all-features
Coverage Test Get the unit test coverage report
E2E Test Run end-to-end test to check interfaces
Code Format Run cargo +nightly fmt --all -- --check and cargo sort -gwc
Web3 Compatible Test Test the Web3 compatibility of Axon
v3 Core Test Run the compatibility tests provided by Uniswap V3
OCT 1-5 | 6-10 | 11 | 12-15 | 16-19 Run the compatibility tests provided by OpenZeppelin

CI Usage

Check the CI you want to run below, and then comment /run-ci.

CI Switch

  • Chaos CI
  • Cargo Clippy
  • Coverage Test
  • E2E Tests
  • Code Format
  • Unit Tests
  • Web3 Compatible Tests
  • OCT 1-5 And 12-15
  • OCT 6-10
  • OCT 11
  • OCT 16-19
  • v3 Core Tests

@KaoImin KaoImin requested a review from a team as a code owner March 28, 2023 12:01
@KaoImin
Copy link
Contributor Author

KaoImin commented Mar 28, 2023

/run-ci

@axon-bot
Copy link

axon-bot bot commented Mar 28, 2023

CI tests run on commit:

CI test list:

  • Code Format
  • Cargo Clippy
  • E2E Tests
  • Unit Tests
  • Web3 Compatible Tests

Please check ci test results later.

felicityin
felicityin previously approved these changes Mar 28, 2023
}

/// This implementation is only used for test.
impl<'a> ExecutorAdapter for MemoryBackend<'a> {
Copy link
Contributor

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

Copy link
Contributor Author

@KaoImin KaoImin Mar 29, 2023

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.

@KaoImin
Copy link
Contributor Author

KaoImin commented Mar 29, 2023

/run-ci

@axon-bot
Copy link

axon-bot bot commented Mar 29, 2023

CI tests run on commit:

CI test list:

  • Code Format
  • Cargo Clippy
  • E2E Tests
  • Unit Tests
  • Web3 Compatible Tests

Please check ci test results later.

@KaoImin KaoImin added this pull request to the merge queue Mar 29, 2023
Merged via the queue into main with commit 47bf914 Mar 29, 2023
@KaoImin KaoImin deleted the refactor-executor-trait branch March 31, 2023 03:19
hongda3141 pushed a commit to hongda3141/axon that referenced this pull request Apr 10, 2023
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants