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

Precompile improvements merge #513

Merged
merged 28 commits into from
Feb 16, 2023

Commits on Jan 10, 2023

  1. Light client mode to unlock dynamic state sync (#424)

    * Light client mode to unlock dynamic state sync
    
    * revert version to pass ci (?)
    
    * fix simulator go.mod
    darioush authored Jan 10, 2023
    Configuration menu
    Copy the full SHA
    bec556f View commit details
    Browse the repository at this point in the history
  2. Fix: typos (#428)

    Fix: typos
    omahs authored Jan 10, 2023
    Configuration menu
    Copy the full SHA
    91f5897 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2023

  1. Bump to v0.4.8 and bump AvalancheGo dependency to v1.9.6 (#429)

    * Bump avlanachego dep to v1.9.6 and bump version to v0.4.8 for release
    
    * Fix simulator go mod
    aaronbuchwald authored Jan 11, 2023
    Configuration menu
    Copy the full SHA
    197add9 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2023

  1. Add requirement that Subnet-evm upgrade is enabled at genesis (#419)

    * Add requirement that Subnet-evm upgrade is enabled at genesis
    
    * Add test for nil
    
    * remove err
    
    * modify comment
    
    * add one more comment
    
    * test  improvements
    
    * fix comment
    
    * fix comment
    
    * timestamp
    
    * fix existing test:
    
    * fix one more existing test
    
    * fix spacing
    
    * clean up
    
    * address comments
    
    * use commmon big 0
    
    * address comments
    
    * Check before upgrade bytes
    
    * comment tests until new NetworkUpgrade is added
    
    * skip instead of comment out
    
    * add config flag
    
    * add unit test to test override
    
    * lint
    
    * remove skips
    
    * lint
    
    * unify to one test
    
    * fix typo
    
    Co-authored-by: aaronbuchwald <aaron.buchwald56@gmail.com>
    anusha-ctrl and aaronbuchwald authored Jan 13, 2023
    Configuration menu
    Copy the full SHA
    880ec77 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2023

  1. Add release checklist template (#435)

    * Add release checklist template
    
    * Update .github/ISSUE_TEMPLATE/release_checklist.md
    
    Co-authored-by: Ceyhun Onur <ceyhun.onur@avalabs.org>
    
    * Update .github/ISSUE_TEMPLATE/release_checklist.md
    
    Co-authored-by: Darioush Jalali <darioush.jalali@avalabs.org>
    
    Co-authored-by: Ceyhun Onur <ceyhun.onur@avalabs.org>
    Co-authored-by: Darioush Jalali <darioush.jalali@avalabs.org>
    3 people authored Jan 23, 2023
    Configuration menu
    Copy the full SHA
    adb9529 View commit details
    Browse the repository at this point in the history
  2. Bump avalanchego dep to v1.9.7 and start v0.4.9 release cycle (#433)

    * Bump avalanchego dep to v1.9.7 and start v0.4.9 release cycle
    
    * Update compatibility.json and README
    aaronbuchwald authored Jan 23, 2023
    Configuration menu
    Copy the full SHA
    0a2e17e View commit details
    Browse the repository at this point in the history
  3. Coreth 0.11.6 sync (#436)

    * sync changes from coreth-0.11.6
    
    * remove diff patch
    
    * revert format changes
    
    * nits (#441)
    ceyonur authored Jan 23, 2023
    Configuration menu
    Copy the full SHA
    dbc1b4d View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2023

  1. Refactor e2e tests (#425)

    * Simplify e2e tests
    
    * Add TODOs
    
    * WIP
    
    * Replace GetSubnetIDF
    
    * Bump avalanchego to v1.9.6-rc.0
    
    * Working on tests
    
    * Light client mode to unlock dynamic state sync
    
    * revert version to pass ci (?)
    
    * fix simulator go.mod
    
    * Set env variable using os setenv
    
    * Needed renames to run all solidity precompile tests
    
    * Cleanup
    
    * E2E test GH Action
    
    * Remove simualtor from GH Actions
    
    * Re-add simulator to GH Actions
    
    * nits
    
    * Modify run script to support running a network and running simulator
    
    * Fix GH Actions file
    
    * Bump avalanchego to v1.9.6-rc.2
    
    * go mod tidy
    
    * Fix run script
    
    * Reduce ctx timeout for starting new subnet to 15s
    
    * Set data dir from github action
    
    * Update run script
    
    * Create separate load test for ginkgo
    
    * Refactor scripts
    
    * Fix up env variables in run single node script
    
    * WIP
    
    * Add install_cli.sh script
    
    * Create 1 script to start a non-staking network of nodes in a subshell
    
    * Fix run script to run 5 node non-staking network and add simple load script
    
    * Fix load test
    
    * go mod update to ago v1.9.7
    
    * Fix allowed geth imports for simulator
    
    * Populate constants to fix blst warning
    
    * load constants in run ginkgo
    
    * Update run simulator name check
    
    * Update data dir
    
    * Add plugin dir env variable
    
    * Update github action and env var used in install avago script
    
    * Filter out both precompile and load test from unit test script
    
    * Add comment about skipping load test in unit test script
    
    * Fix lint geth allowed pkgs
    
    * Address nits
    
    * Remove unused DATA_DIRs var from run script
    
    * Add TODO to update run script to allow running N nodes instead of just one
    
    * Update READMEs
    
    * Break down simulator
    
    * Cleanup
    
    * Update cmd/simulator/README.md
    
    * Update cmd/simulator/README.md
    
    * Update cmd/simulator/README.md
    
    * Update contract-examples/README.md
    
    * Address review comments
    
    * Address PR comments
    aaronbuchwald authored Jan 26, 2023
    Configuration menu
    Copy the full SHA
    a584fca View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2023

  1. Configuration menu
    Copy the full SHA
    13d49a7 View commit details
    Browse the repository at this point in the history
  2. nil timestamp in genesis should be upgradeable (#461)

    * nil timestamp in genesis should be upgradeable
    
    * add assert
    darioush authored Jan 28, 2023
    Configuration menu
    Copy the full SHA
    d1cbe9d View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2023

  1. Configuration menu
    Copy the full SHA
    76e3fe2 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2023

  1. Configuration menu
    Copy the full SHA
    954fe72 View commit details
    Browse the repository at this point in the history
  2. fix allow list comments (#469)

    * fix allow list comments
    
    * cleaner sentences
    
    * use preallocated big nums
    
    * infer allow list role type
    ceyonur authored Jan 31, 2023
    Configuration menu
    Copy the full SHA
    01a16a0 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2023

  1. add nil checks (#473)

    * add nil checks
    
    * add unit test
    
    * use non nil config
    
    * use non-nil configs
    
    ---------
    
    Co-authored-by: aaronbuchwald <aaron.buchwald56@gmail.com>
    ceyonur and aaronbuchwald authored Feb 1, 2023
    Configuration menu
    Copy the full SHA
    009c86f View commit details
    Browse the repository at this point in the history
  2. Warp backend interface and implementation (#452)

    * base warp backend
    
    * add signature caching
    
    * add docs
    
    * error handling
    
    * pr fixes
    
    * hash unsigned message for key
    
    * quick pr fixes and merge
    
    * save signature instead of whole msg
    
    * use avaGO cache
    
    * rename warpBackend and docs
    
    * fix nits
    
    * Update plugin/evm/warp_backend.go
    
    * Update plugin/evm/warp_backend.go
    
    * fix pr nits
    
    * pr fixes and testing
    
    * type check for caching
    
    * fix imports
    
    * use memdb and remove extra test
    
    * remove unused
    
    * fix imports
    
    * saving message in db and pr fixes
    
    * update copyright
    
    * update backend variable naming
    
    * add comment about saving db vs cache
    minghinmatthewlam authored Feb 1, 2023
    Configuration menu
    Copy the full SHA
    1955873 View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2023

  1. Configuration menu
    Copy the full SHA
    5dfa34f View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2023

  1. remove current rules (#481)

    Co-authored-by: Darioush Jalali <darioush.jalali@avalabs.org>
    ceyonur and darioush authored Feb 5, 2023
    Configuration menu
    Copy the full SHA
    7aa90d0 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2023

  1. add documentation guidelines (#486)

    * add documentation guidelines
    
    * fix
    darioush authored Feb 6, 2023
    Configuration menu
    Copy the full SHA
    7887607 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c667f95 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    50da2fd View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2023

  1. Configuration menu
    Copy the full SHA
    fe5e55c View commit details
    Browse the repository at this point in the history
  2. build with avago v1.9.8 (#498)

    * build with avago v1.9.8
    
    * add indirect deps
    
    * build fix
    
    * another build fix
    
    * try to fix lint job
    cam-schultz authored Feb 8, 2023
    Configuration menu
    Copy the full SHA
    40c5212 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2023

  1. Signature Request Handler (#459)

    Co-authored-by: aaronbuchwald <aaron.buchwald56@gmail.com>
    Co-authored-by: Darioush Jalali <darioush.jalali@avalabs.org>
    3 people authored Feb 9, 2023
    Configuration menu
    Copy the full SHA
    0731a82 View commit details
    Browse the repository at this point in the history
  2. Update codeowners (#492)

    Co-authored-by: Darioush Jalali <darioush.jalali@avalabs.org>
    aaronbuchwald and darioush authored Feb 9, 2023
    Configuration menu
    Copy the full SHA
    8343e42 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2023

  1. Get signature endpoint: alternative PR with different packaging (#507)

    * base warp backend
    
    * add signature caching
    
    * add docs
    
    * error handling
    
    * pr fixes
    
    * basic signature request
    
    * hash unsigned message for key
    
    * implement new Request and RequestHandler interfaces
    
    * signature handler impl without constructing one
    
    * fix import
    
    * quick pr fixes and merge
    
    * quick pr fixes and merge
    
    * save signature instead of whole msg
    
    * use avaGO cache
    
    * rename warpBackend and docs
    
    * fix nits
    
    * Update plugin/evm/warp_backend.go
    
    Co-authored-by: aaronbuchwald <aaron.buchwald56@gmail.com>
    
    * Update plugin/evm/warp_backend.go
    
    Co-authored-by: aaronbuchwald <aaron.buchwald56@gmail.com>
    
    * fix pr nits
    
    * pr fixes and testing
    
    * type check for caching
    
    * handlers and request before tests
    
    * fix imports
    
    * signature handler with stats and test
    
    * use memdb and remove extra test
    
    * remove unused
    
    * fix imports
    
    * fix imports
    
    * nit
    
    * update license year
    
    * use require noError
    
    * saving message in db and pr fixes
    
    * create noop signature handler and refactor code handler
    
    * get signature endpoint
    
    * add api arg to evm client
    
    * Update sync/handlers/handler.go
    
    Co-authored-by: aaronbuchwald <aaron.buchwald56@gmail.com>
    
    * update backend return value
    
    * refactor handlers to network handler
    
    * change constructor of handler stats
    
    * pr cleanups
    
    * warp api
    
    * initialize warp backend
    
    * build fix
    
    * wip
    
    * warp api follows eth api pattern
    
    * cleanup and comments
    
    * clean up response
    
    * fix warp client return type
    
    * nits for get-signature-endpoint (#502)
    
    Co-authored-by: Darioush Jalali <darioush.jalali@avalabs.org>
    Co-authored-by: aaronbuchwald <aaron.buchwald56@gmail.com>
    Co-authored-by: Ceyhun Onur <ceyhun.onur@avalabs.org>
    Co-authored-by: cam-schultz <78878559+cam-schultz@users.noreply.github.com>
    
    * resolve merge conflict
    
    * warp: Group packages for symmetry w/ sync
    
    * more reshuffle
    
    * more shuffle
    
    * pr comments
    
    * fix
    
    * update to []byte
    
    * update svc return type
    
    * rename arg
    
    * fix type
    
    * add stats pkg
    
    ---------
    
    Co-authored-by: Matthew Lam <matthew.lam@avalabs.org>
    Co-authored-by: aaronbuchwald <aaron.buchwald56@gmail.com>
    Co-authored-by: cam-schultz <camschultz32@gmail.com>
    Co-authored-by: Ceyhun Onur <ceyhun.onur@avalabs.org>
    Co-authored-by: cam-schultz <78878559+cam-schultz@users.noreply.github.com>
    6 people authored Feb 10, 2023
    Configuration menu
    Copy the full SHA
    38ad7f5 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2023

  1. Configuration menu
    Copy the full SHA
    75a5709 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4ee9802 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    93d274f View commit details
    Browse the repository at this point in the history