-
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
feat(executor): remove modexp limit #1119
Conversation
2b720d0
to
e9d8789
Compare
/run-ci |
CI tests run on commit:
CI test list:Please check ci test results later. |
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.
LGTM
cce4df0
to
c77c927
Compare
start = len; | ||
} | ||
|
||
let mut end = start.wrapping_add(size); |
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.
If this actually wraps, won't data[start..end]
panic? How about using saturating_add
instead.
It might still be better to calculate gas cost without allocating for full |
c77c927
to
f9090a8
Compare
/run-ci |
CI tests run on commit:
CI test list:
Please check ci test results later. |
f9090a8
to
7636e33
Compare
/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:
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