-
Notifications
You must be signed in to change notification settings - Fork 251
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
update libevm branch with master branch #1484
Draft
qdm12
wants to merge
57
commits into
libevm
Choose a base branch
from
qdm12/libevm/master-merge-1
base: libevm
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
+1,305
−1,286
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* add regression test * remove shared memory from accept and precompile interface * Update plugin/evm/vm_test.go Co-authored-by: Darioush Jalali <[email protected]> Signed-off-by: Ceyhun Onur <[email protected]> * revert changes to test helper --------- Signed-off-by: Ceyhun Onur <[email protected]> Co-authored-by: Darioush Jalali <[email protected]>
* add validator state * add pausable uptime manager * remove stuttering name * rename state listener * add uptime tracking to VM * remove unused param * add wg for update validators * update state before network shutdown * restart bootstrapping status in test * add get validator to state * rename uptime to validator * fix mock state * tests * Update plugin/evm/validators/state.go Co-authored-by: Darioush Jalali <[email protected]> Signed-off-by: Ceyhun Onur <[email protected]> * use update enum * Update plugin/evm/validators/state.go Co-authored-by: Darioush Jalali <[email protected]> Signed-off-by: Ceyhun Onur <[email protected]> * Update plugin/evm/validators/state.go Co-authored-by: Darioush Jalali <[email protected]> Signed-off-by: Ceyhun Onur <[email protected]> * respond to comments * update avalanchego dep branch * reviews * reword errs * fix test changes * fix upgrades after deactivating latest in context * use test branch from avalanchego * use branch commit for ava version * update e2e ava version * update avago dep * remove extra line... * export struct * reviews * conflict fix * custom err msg * add listener mock * bump avago test branch * remove config * remove api changes * use non-version db for validatorsDB * remove errs from resume and pause * check after stopping * use expectedTime in tests * reviews * fix len * remove log * use interfaces from pkgs * improve comments * new fields and refactorings * fix linter * clarify comments * update comment * bump to poc branch * reviews * update comment * update to avago master --------- Signed-off-by: Ceyhun Onur <[email protected]> Signed-off-by: Ceyhun Onur <[email protected]> Co-authored-by: Darioush Jalali <[email protected]>
* add validator state * add pausable uptime manager * remove stuttering name * rename state listener * add uptime tracking to VM * remove unused param * add wg for update validators * update state before network shutdown * restart bootstrapping status in test * add get validator to state * rename uptime to validator * fix mock state * tests * Update plugin/evm/validators/state.go Co-authored-by: Darioush Jalali <[email protected]> Signed-off-by: Ceyhun Onur <[email protected]> * use update enum * Update plugin/evm/validators/state.go Co-authored-by: Darioush Jalali <[email protected]> Signed-off-by: Ceyhun Onur <[email protected]> * Update plugin/evm/validators/state.go Co-authored-by: Darioush Jalali <[email protected]> Signed-off-by: Ceyhun Onur <[email protected]> * respond to comments * update avalanchego dep branch * reviews * reword errs * fix test changes * fix upgrades after deactivating latest in context * use test branch from avalanchego * use branch commit for ava version * update e2e ava version * update avago dep * remove extra line... * export struct * reviews * conflict fix * custom err msg * add listener mock * bump avago test branch * remove config * remove api changes * Revert "remove api changes" This reverts commit 8ef763f. * use non-version db for validatorsDB * remove errs from resume and pause * check after stopping * use expectedTime in tests * reviews * Update plugin/evm/vm.go Co-authored-by: Darioush Jalali <[email protected]> Signed-off-by: Ceyhun Onur <[email protected]> * fix len * remove log * disable validators api by default * use interfaces from pkgs * improve comments * new fields and refactorings * add new fields * fix linter * clarify comments * update comment * bump to poc branch * enable validators API by default * reviews * update comment * update to avago master --------- Signed-off-by: Ceyhun Onur <[email protected]> Signed-off-by: Ceyhun Onur <[email protected]> Co-authored-by: Darioush Jalali <[email protected]>
* Bump avalanchego to master * always sign uptime messages (testing branch) * nits * cleanup * assign to correct `err` * fix handler * move ValidatorUptime type to subnet-evm * disable always signing * implement on the type itself * remove unneeded code * fix ut * add validator state * add pausable uptime manager * remove stuttering name * rename state listener * add uptime tracking to VM * remove unused param * add wg for update validators * update state before network shutdown * restart bootstrapping status in test * add get validator to state * rename uptime to validator * fix mock state * tests * Update plugin/evm/validators/state.go Co-authored-by: Darioush Jalali <[email protected]> Signed-off-by: Ceyhun Onur <[email protected]> * use update enum * Update plugin/evm/validators/state.go Co-authored-by: Darioush Jalali <[email protected]> Signed-off-by: Ceyhun Onur <[email protected]> * Update plugin/evm/validators/state.go Co-authored-by: Darioush Jalali <[email protected]> Signed-off-by: Ceyhun Onur <[email protected]> * respond to comments * update avalanchego dep branch * reviews * reword errs * fix test changes * fix upgrades after deactivating latest in context * use test branch from avalanchego * use branch commit for ava version * update e2e ava version * update avago dep * remove extra line... * export struct * implement acp118 signer and verifier * avoid revalidating in sign * refactor warp backend to use acp118 handler * prune warp db before backend init * add cache tests * remove uptime msg type * add cache test * fix linter * add validator uptimes * bump avago getcurrentvalidators branch * rename get validator IDs to NodeIDs * sign uptime warp msg base on uptime calculator * add tests * reviews * conflict fix * custom err msg * add listener mock * bump avago test branch * remove config * remove api changes * Revert "remove api changes" This reverts commit 8ef763f. * remove wrapped cache * use non-version db for validatorsDB * remove errs from resume and pause * check after stopping * use expectedTime in tests * reviews * Update plugin/evm/vm.go Co-authored-by: Darioush Jalali <[email protected]> Signed-off-by: Ceyhun Onur <[email protected]> * fix len * fix tests * update avago branch * use ctx from utils * add empty check for source address * nits * remove log * disable validators api by default * fix test context * use interfaces from pkgs * improve comments * Uptime validation nits (#1378) * add uptime warp example * remove log * nit unused interface * add weight and isSov as fields * use validator struct in AddValidator * add comments to example file * fix test * add new fields to tests --------- Signed-off-by: Ceyhun Onur <[email protected]> * Update plugin/evm/validators/state.go Co-authored-by: Michael Kaplan <[email protected]> Signed-off-by: Ceyhun Onur <[email protected]> * pass locker * rename addresscall verifier fn * new fields and refactorings * add new fields * merge nits * fix linter * clarify comments * update comment * remove getnodeID * bump to poc branch * enable validators API by default * reviews * reviews * update comment * update to avago master * revert test change --------- Signed-off-by: Ceyhun Onur <[email protected]> Signed-off-by: Ceyhun Onur <[email protected]> Co-authored-by: Darioush Jalali <[email protected]> Co-authored-by: Michael Kaplan <[email protected]>
* fix start timestamp * add client
* add db inspect * Update plugin/evm/database.go Co-authored-by: Darioush Jalali <[email protected]> Signed-off-by: Ceyhun Onur <[email protected]> * reduce db code from vm --------- Signed-off-by: Ceyhun Onur <[email protected]> Co-authored-by: Darioush Jalali <[email protected]>
Co-authored-by: Darioush Jalali <[email protected]> Co-authored-by: Michael Kaplan <[email protected]>
* fix start timestamp * add client * rename sov to l1validator
* fix start timestamp * add client * rename sov to l1validator * bump avago to v1.11.13-rc.1 * update compatibility
* use nodeID filter and uptimePerc * add uptime seconds
Signed-off-by: mountcount <[email protected]>
Signed-off-by: chuangjinglu <[email protected]> Co-authored-by: Ceyhun Onur <[email protected]>
* bump avago to v1.12.0 * close database on shutdown * update release notes * rename verdb * close only if standalone db * bump avago branch version * bump avago
* bump avago to v1.12.0 * close database on shutdown * update release notes * rename verdb * close only if standalone db * bump avago branch version * bump avago * bump versions --------- Signed-off-by: Ceyhun Onur <[email protected]>
Signed-off-by: guqicun <[email protected]> Co-authored-by: Ceyhun Onur <[email protected]>
* typos README.md Signed-off-by: Dmytrol <[email protected]> * typos README.md Signed-off-by: Dmytrol <[email protected]> --------- Signed-off-by: Dmytrol <[email protected]> Co-authored-by: Ceyhun Onur <[email protected]>
* bump avalanchego to master (updates x/crypto) * fix * Encapsulate Signer (#693) * Remove the bls dependency --------- Co-authored-by: Darioush Jalali <[email protected]> * bump to v1.12.1 --------- Co-authored-by: Richard Pringle <[email protected]>
Co-authored-by: Quentin McGaw <[email protected]> Co-authored-by: Arran Schlosberg <[email protected]>
* add validators pkg readme * Apply suggestions from code review Co-authored-by: Meaghan FitzGerald <[email protected]> Signed-off-by: Ceyhun Onur <[email protected]> * Apply suggestions from code review Co-authored-by: Meaghan FitzGerald <[email protected]> Signed-off-by: Ceyhun Onur <[email protected]> * Apply suggestions from code review Co-authored-by: Meaghan FitzGerald <[email protected]> Signed-off-by: Ceyhun Onur <[email protected]> * nits --------- Signed-off-by: Ceyhun Onur <[email protected]> Co-authored-by: Meaghan FitzGerald <[email protected]>
* add multiatch docker build to support arm * fix build img id * Update .github/workflows/publish_docker.yml Co-authored-by: Quentin McGaw <[email protected]> Signed-off-by: Ceyhun Onur <[email protected]> * Update .github/workflows/publish_docker.yml Co-authored-by: Quentin McGaw <[email protected]> Signed-off-by: Ceyhun Onur <[email protected]> * fix vm id * remove debug echo * revert format change --------- Signed-off-by: Ceyhun Onur <[email protected]> Co-authored-by: Quentin McGaw <[email protected]>
- Localized mockgen commands in the package where they are needed - Generate mocks from your IDE directly - Platform independent way of generating mocks - Check automatically mocks are kept up to date with their matching interfaces - Check automatically mocks all have a matching source controlled generation command - Remove license headers for generated mocks - Generating mocks section added in contributing document - Use same mockgen version as specified in go.mod
* fix test generator (#724) * add go mod tidy check
Co-authored-by: Quentin McGaw <[email protected]>
* move config package (coreth c167754) * refactor: Split config package so it doesn't import core, core/vm (#734) Co-authored-by: Quentin McGaw <[email protected]> * bump avalanchego (same as coreth's 4765329) * Apply upstream fixes (up to d3cc618) (#766) Co-authored-by: maskpp <[email protected]> Co-authored-by: Aaron Chen <[email protected]> Co-authored-by: Shiming Zhang <[email protected]> Co-authored-by: Felix Lange <[email protected]> Co-authored-by: Nathan <[email protected]> Co-authored-by: Eric <[email protected]> * fix panic if config duration is set to 0 (#765) * fix mocks * antithesis script patch: change dir for avalanchego build (for go.mod) --------- Co-authored-by: Quentin McGaw <[email protected]> Co-authored-by: maskpp <[email protected]> Co-authored-by: Aaron Chen <[email protected]> Co-authored-by: Shiming Zhang <[email protected]> Co-authored-by: Felix Lange <[email protected]> Co-authored-by: Nathan <[email protected]> Co-authored-by: Eric <[email protected]>
* Began #1428 by removing legacy gossip handler from network.go and its test file. * Completed all recommended removals in #1428. Did not address any other changes in the original PR outside the scope of this issue * Skip registration in Codec for removed EthTxsGossip type to ensure that numbering is consistent * Fixed small RELEASES.md error incorrectly denoting version * Apply suggestions from code review Nit - typo, reduce git diffs Co-authored-by: Quentin McGaw <[email protected]> Signed-off-by: Austin Larson <[email protected]> * Changed test codec version name for clarity * Removed testCodecVersion due to later comparison with message.Version - use this for tests instead --------- Signed-off-by: Austin Larson <[email protected]> Co-authored-by: Ceyhun Onur <[email protected]> Co-authored-by: Quentin McGaw <[email protected]>
* bump avalanchego to v1.12.2 * remove unneeded var * fix antithesis images * add cross-compile setup to dockerfile * use build_env.sh in Dockerfile * export variables * remove build_env.sh from Dockerfile * remove comment * revert
* remove current state lock * revert formatting
Co-authored-by: Martin HS <[email protected]> Co-authored-by: Marius van der Wijden <[email protected]> Co-authored-by: Quentin McGaw <[email protected]> Co-authored-by: Richard Pringle <[email protected]> Co-authored-by: Ceyhun Onur <[email protected]> Co-authored-by: Tsachi Herman <[email protected]>
Signed-off-by: chuangjinglu <[email protected]> Co-authored-by: Ceyhun Onur <[email protected]>
Signed-off-by: Tsachi Herman <[email protected]> Co-authored-by: Darioush Jalali <[email protected]>
Signed-off-by: huochexizhan <[email protected]>
Signed-off-by: Martin Eckardt <[email protected]>
6333aac
to
4723d45
Compare
Signed-off-by: Ceyhun Onur <[email protected]> Co-authored-by: Darioush Jalali <[email protected]>
3219bef
to
84cf189
Compare
84cf189
to
5f18e40
Compare
993de33
to
7960b4a
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
(WIP)