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

fix: sync solana branch with upstream main #11

Merged
merged 55 commits into from
Mar 6, 2024
Merged

Commits on Jan 17, 2024

  1. fix: use correct key id to generate pub key (axelarnetwork#234)

    * fix: use correct key id to generate pub key
    
    * add logging
    haiyizxx authored Jan 17, 2024
    Configuration menu
    Copy the full SHA
    40c861e View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2024

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

Commits on Jan 23, 2024

  1. feat: add expiry field of u64 to SigningStarted event (axelarnetwork#243

    )
    
    * feat: add expiry field of u64 to SigningStarted event
    
    * fix: correct a comment word on contracts/multisig/src/state.rs
    
    Co-authored-by: Sammy <[email protected]>
    
    * fix: update attribute name of expiry field
    
    Co-authored-by: Sammy <[email protected]>
    
    ---------
    
    Co-authored-by: Sammy <[email protected]>
    maancham and fish-sammy authored Jan 23, 2024
    Configuration menu
    Copy the full SHA
    dec716e View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2024

  1. docs: axe-2947-update-ampd-docs (axelarnetwork#236)

    * Update connection_router.md: add note for the second diagram
    
    * Update connection_router.md: include brief explanation of main entities
    
    * Update overview.md: update Message struct
    
    * docs: edit notes on connection_router.md, add CrossChainId struct to overview.md
    
    * fix: remove entity structure from connection_router.md
    maancham authored Jan 24, 2024
    Configuration menu
    Copy the full SHA
    4197d82 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2024

  1. Configuration menu
    Copy the full SHA
    aac6602 View commit details
    Browse the repository at this point in the history
  2. chore: work in progress - removing grace from multisig config (axelar…

    …network#245)
    
    * chore: work in progress - removing grace from multisig config
    
    * fix: remove grace period from contract.rs, update env block change to reflect test parameters
    
    * fix: remove "before expiry" from comment
    
    Co-authored-by: CJ Cobb <[email protected]>
    
    ---------
    
    Co-authored-by: CJ Cobb <[email protected]>
    maancham and cjcobb23 authored Jan 25, 2024
    Configuration menu
    Copy the full SHA
    196416d View commit details
    Browse the repository at this point in the history
  3. feat(voting-verifier): query to check messages consensus (axelarnetwo…

    …rk#231)
    
    * add query to check message consensus
    
    * add query to get worker set consensus and rename functions
    
    * update is verified query with statuses query
    
    * cleanup and rename
    
    * add unit test
    
    * review
    
    * fix typo
    
    * review comments
    eguajardo authored Jan 25, 2024
    Configuration menu
    Copy the full SHA
    98430b8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    35607fe View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2024

  1. feat: axe-2989-Handle-Expired-Signing-Skip (axelarnetwork#246)

    * chore: work in progress - removing grace from multisig config
    
    * fix: remove grace period from contract.rs, update env block change to reflect test parameters
    
    * feat: add skip expire signing session to multisig.rs
    
    * fix: remove unused tracing info_span crate
    
    * test: add should_not_handle_event_if_session_expired to multisig.rs
    maancham authored Jan 26, 2024
    Configuration menu
    Copy the full SHA
    ef961ec View commit details
    Browse the repository at this point in the history
  2. docs: update voting_verifier.md (axelarnetwork#237)

    * docs: update voting_verifier.md
    
    * docs: remove entity structure code and move description to the top
    
    * update: doc/src/contracts/voting_verifier.md
    
    Co-authored-by: CJ Cobb <[email protected]>
    
    * fix: added link to prover sequence diagram
    
    * fix: change link from weblink to relative
    
    ---------
    
    Co-authored-by: CJ Cobb <[email protected]>
    maancham and cjcobb23 authored Jan 26, 2024
    Configuration menu
    Copy the full SHA
    d41029f View commit details
    Browse the repository at this point in the history
  3. fix(multisig-prover): don't prevent signing due to multiple workerset…

    … rotations (axelarnetwork#235)
    
    * fix(multisig-prover): Don't prevent signing due to multiple rotations
    
    * feat(save_next_worker_set): logic to handle multiple error types
    
    * refactor(worker_set_cannot_be_updated_again_while_pending_worker_is_not_yet_confirmed): test breakdown and add comments
    
    * fix: update create_new_workers_vec to a more functional approach
    
    Co-authored-by: Christian Gorenflo <[email protected]>
    
    * fix: update update_registry_and_construct_proof's input names
    
    * fix: remove redundant variable assignment for construct_proof_and_sign
    
    * fix: update function name from process_poll to execute_worker_set_poll
    
    Co-authored-by: Christian Gorenflo <[email protected]>
    
    * fix: first test_utils::execute_worker_set_poll comment update and second_wave_of_new_workers inlining
    
    * fix: update comments for test_utils::update_registry_and_construct_proof
    
    * refactor: remove redundant function call comments, inline worker vector creation
    
    * refactor: comment update for first_wave_of_new_workers and first_wave_worker_set
    
    * refactor: comment update for first update_registry_and_construct_proof
    
    * refactor: move worker set creation into execute_worker_set_poll
    
    ---------
    
    Co-authored-by: maancham <[email protected]>
    Co-authored-by: Christian Gorenflo <[email protected]>
    3 people authored Jan 26, 2024
    Configuration menu
    Copy the full SHA
    8b7f76f View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2024

  1. chore: add release pipeline (axelarnetwork#239)

    Talal Ashraf authored Jan 29, 2024
    Configuration menu
    Copy the full SHA
    b9074b5 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2024

  1. feat: axe-2791 first step, add denounce chain support to service regi…

    …stry (axelarnetwork#247)
    
    * feat: add denounce chain support ability to service registry
    
    * test: add denounce_chain_support testcase
    
    * test: add more unit tests for different paths
    
    * test: two more unit tests for unregistered worker and service
    
    * refactor: add test comments, refactor declare and denounce
    
    * fix: address lint issue
    maancham authored Jan 31, 2024
    Configuration menu
    Copy the full SHA
    ad64f68 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d6cf113 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dc60c6e View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2024

  1. Configuration menu
    Copy the full SHA
    f87a9fc View commit details
    Browse the repository at this point in the history
  2. feat(ampd): add timeout to the EVM/SUI JSON-RPC clients (axelarnetwor…

    …k#254)
    
    * feat(ampd): add timeout to the EVM/SUI JSON-RPC clients
    
    * fix clippy
    fish-sammy authored Feb 1, 2024
    Configuration menu
    Copy the full SHA
    67e3714 View commit details
    Browse the repository at this point in the history
  3. feat: add signature to public key registration (axelarnetwork#249)

    * add signed address to message
    
    * fix message format
    
    * fix unit tests
    
    * add unit test
    
    * add signature to ampd pubkey registration
    
    * fix lint
    
    * add comment
    eguajardo authored Feb 1, 2024
    Configuration menu
    Copy the full SHA
    e0c68ab View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2024

  1. Configuration menu
    Copy the full SHA
    081a650 View commit details
    Browse the repository at this point in the history
  2. feat(multisig): prevent duplicate public key registration (axelarnetw…

    …ork#255)
    
    * prevent duplicate public keys
    
    * fix tests
    
    * add unit test
    
    * add index
    eguajardo authored Feb 2, 2024
    Configuration menu
    Copy the full SHA
    4d1535d View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2024

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

Commits on Feb 6, 2024

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

Commits on Feb 7, 2024

  1. refactor: service registry tests (axelarnetwork#256)

    * refactor: migrate base service registry test setup to test utils
    
    * refactor: pass in governance as input to instantiate_contract, change mut app to app
    
    * refactor: add ServiceRegistryContract and update service registry test formats
    
    * fix: handle syntax and format issues after conflict resolution
    
    * feat: add contract query abstraction to service registry tests
    
    * feat: add execution abstraction for register contract
    
    * feat: add contract error type to train, migrate app.execute_contract to service.execute
    
    * fix: change Err type to axelar_wasm_std and migrate remaining app.execute_contract instances
    
    * Update Cargo.toml
    
    * refactor: distinction between execute and execute_with_funds
    maancham authored Feb 7, 2024
    Configuration menu
    Copy the full SHA
    cb469b5 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2024

  1. Configuration menu
    Copy the full SHA
    2b83c03 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c88d8b0 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2024

  1. Configuration menu
    Copy the full SHA
    69124ee View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9de4d9e View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2024

  1. chore(infra): add a seed job for building releases for ampd and fix n…

    …aming for building main branch ecr image (axelarnetwork#269)
    
    * chore(infra): add a seed job for building releases for ampd and fix naming for building main branch ecr image
    
    * chore: add codeowners for infra and devops related files
    
    * - fix versions for build jobs
    
    Co-authored-by: Milap Sheth <[email protected]>
    
    ---------
    
    Co-authored-by: Milap Sheth <[email protected]>
    Talal Ashraf and milapsheth authored Feb 13, 2024
    Configuration menu
    Copy the full SHA
    69e7bf0 View commit details
    Browse the repository at this point in the history
  2. fix(ampd): skip events from unknown contracts (axelarnetwork#259)

    * fix(ampd): skip events from unknown contracts
    cjcobb23 authored Feb 13, 2024
    Configuration menu
    Copy the full SHA
    c26a374 View commit details
    Browse the repository at this point in the history
  3. docs: service-registry-doc (axelarnetwork#268)

    * doc: initiate service_registry.md with summary, interface, and graph diagram
    
    * doc: add sequence diagram for service_registry.md
    
    * doc: update service_registry.md based on reviews
    maancham authored Feb 13, 2024
    Configuration menu
    Copy the full SHA
    f362e07 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2024

  1. fix(minor-rewards)!: handle signing rewards for different chains (axe…

    …larnetwork#253)
    
    * fix(minor-rewards)!: handle signing rewards for different chains
    
    The rewards contract can not distinguish signing events for different chains. All signing events are added to a single tally,
    since all signing events are handled by one multisig contract.
    
    This pr associates rewards with a (chain name, contract address) pair.
    
    * address comments
    
    * lint and fix test
    haiyizxx authored Feb 14, 2024
    Configuration menu
    Copy the full SHA
    4f00800 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2024

  1. Configuration menu
    Copy the full SHA
    ece3349 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8f99242 View commit details
    Browse the repository at this point in the history
  3. feat(multisig): add optional signature validation callback (axelarnet…

    …work#270)
    
    * add signature verifier api
    
    * add call to signature verification
    
    * fix compilation errors
    
    * fix error handling
    
    * add unit test
    
    * update parameter type
    
    * update documentation
    eguajardo authored Feb 15, 2024
    Configuration menu
    Copy the full SHA
    0ced191 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2024

  1. feat: add contract abstraction to connection router (axelarnetwork#267)

    * chore: migrate trait to contract.rs, dependencies failing
    
    * fix: handle import issue and update trait usage for service registry
    
    * feat: add contract abstraction sample to connection router
    
    * fix: address mod.rs lint issues
    
    * refactor: remove Err type from contract, connection router test util cleanup
    
    * refactor: revert generate_message function to previous impl
    
    * refactor: final updates for the route test
    
    * chore: last test migration failing due to axelar_wasm_std error
    
    * fix: add cosmwasm::StdError to contract trait, update register chain function
    maancham authored Feb 16, 2024
    Configuration menu
    Copy the full SHA
    e7a2301 View commit details
    Browse the repository at this point in the history
  2. feat(ampd): retry event handling with timeout and max attemmpts (axel…

    …arnetwork#251)
    
    * feat(ampd): retry event handling with timeout and max attemmpts
    
    * add tests
    
    * address comments
    
    * improve tests
    
    * address comments
    
    * improve comments
    
    ---------
    
    Co-authored-by: Sammy Liu <[email protected]>
    fish-sammy and Sammy Liu authored Feb 16, 2024
    Configuration menu
    Copy the full SHA
    96eadd5 View commit details
    Browse the repository at this point in the history
  3. ci: use blacksmith runners for gh actions (axelarnetwork#271)

    * ci: use blacksmith 16vcpu runners
    
    This change switches over the `basic` workflow
    to Blacksmith's 16vcpu runners. Additionally, this
    change switches the rust cache action to use the
    Blacksmith drop-in replacement. The Blacksmith version
    of the cache is colocated with Blacksmith runners and is
    substantially faster.
    
    The result is that this workflow is overall 2x faster and
    half the cost.
    
    * ci: move coverage to blacksmith 16vcpu runners
    
    * ci: remove `workflow_dispatch` from the triggers
    
    * ci: bump the `Test Suite` job to use 32vCPUs
    
    * ci: update `setup-protoc` step to avoid getting rate limited
    
    This commit adds an auth token to the `setup-protoc` step to avoid getting rate limited as per: https://github.com/arduino/setup-protoc?tab=readme-ov-file#usage.
    
    * ci: update `Test Suite` job to authenticate for `setup-protoc`
    
    This commit adds an auth token to the `setup-protoc` step to avoid getting rate limited as per: https://github.com/arduino/setup-protoc?tab=readme-ov-file#usage.
    
    * ci: move `Test Suite` job back to 16vCPUs
    
    * ci: move `Test Suite` and compilation steps to 32vCPU VMs
    
    ---------
    
    Co-authored-by: Aditya Maru <[email protected]>
    Co-authored-by: Aayush Shah <[email protected]>
    3 people authored Feb 16, 2024
    Configuration menu
    Copy the full SHA
    1521676 View commit details
    Browse the repository at this point in the history
  4. feat: add ampd build job (axelarnetwork#258)

    ---------
    
    Co-authored-by: Talal Ashraf <[email protected]>
    kalidax and Talal Ashraf authored Feb 16, 2024
    Configuration menu
    Copy the full SHA
    360560d View commit details
    Browse the repository at this point in the history
  5. fix(ampd): retry fetching blocking results on error (axelarnetwork#265)

    * feat(ampd): retry event handling with timeout and max attempts
    cjcobb23 authored Feb 16, 2024
    Configuration menu
    Copy the full SHA
    671777b View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2024

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

Commits on Feb 21, 2024

  1. refactor(connection-router-api): replace dependencies of connection-r…

    …outer with connection-router-api (axelarnetwork#273)
    
    * refactor(connection-router-api): replace dependencies of connection-router with connection-router-api
    
    * fix linting
    fish-sammy authored Feb 21, 2024
    Configuration menu
    Copy the full SHA
    70f6283 View commit details
    Browse the repository at this point in the history
  2. refactor: contract trait voting verifier (axelarnetwork#276)

    * refactor: base voting verifier tests template
    
    * refactor: finish voting verifier tests migration
    
    * fix: handle lint issue
    
    * refactor: change config name to fixture
    
    * refactor: handle TestFixture name typo
    maancham authored Feb 21, 2024
    Configuration menu
    Copy the full SHA
    2644fba View commit details
    Browse the repository at this point in the history
  3. refactor: connection router picks up gateway-api (axelarnetwork#277)

    * refactor: connection router picks up gateway-api
    
    * cargo sort
    fish-sammy authored Feb 21, 2024
    Configuration menu
    Copy the full SHA
    c454d48 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1ad088c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ba7b422 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2024

  1. refactor: change gateway get messages query name (axelarnetwork#281)

    * refactor: change gateway get messages query name
    
    * doc: one liner comment for the query
    maancham authored Feb 26, 2024
    Configuration menu
    Copy the full SHA
    f86bbe1 View commit details
    Browse the repository at this point in the history
  2. refactor: remove mock contracts from voting verifier tests and use mo…

    …ck querier `update_wasm()` instead (axelarnetwork#280)
    
    * remove use of mock contracts from some tests
    
    * update more unit tests to use mock querier instead of mock contracts
    
    * move more unit tests
    
    * remove unused files
    
    * remove duplicate function
    
    * tests cleanup
    eguajardo authored Feb 26, 2024
    Configuration menu
    Copy the full SHA
    155f87f View commit details
    Browse the repository at this point in the history

Commits on Feb 29, 2024

  1. docs: write gateway.md (axelarnetwork#283)

    * doc: write gateway.md
    
    * docs: address reviews (fix wording)
    maancham authored Feb 29, 2024
    Configuration menu
    Copy the full SHA
    2557b81 View commit details
    Browse the repository at this point in the history
  2. docs(ampd): add ampd README (axelarnetwork#275)

    * docs(ampd): add ampd README
    cjcobb23 authored Feb 29, 2024
    Configuration menu
    Copy the full SHA
    f2dfea8 View commit details
    Browse the repository at this point in the history
  3. refactor: remove block height log after broadcasting from ampd (axela…

    …rnetwork#282)
    
    * refactor: remove block height log after broadcasting from ampd
    
    * fix: address lint issues with unused package and height variable
    
    * fix: bring back tx_hash log, remove height from TxResponse
    maancham authored Feb 29, 2024
    Configuration menu
    Copy the full SHA
    6026ed8 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2024

  1. fix(multisig): normalize compressed and uncompressed public keys for …

    …proper duplicate check (axelarnetwork#284)
    
    * validate public key in tryfrom trait
    
    * update unit tests and cleanup
    
    * feedback
    
    * feedback
    
    * merged two error messages
    
    ---------
    
    Co-authored-by: Sammy <[email protected]>
    eguajardo and fish-sammy authored Mar 1, 2024
    Configuration menu
    Copy the full SHA
    b93af44 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2024

  1. Configuration menu
    Copy the full SHA
    aad015b View commit details
    Browse the repository at this point in the history
  2. refactor: simplify complexity in verify() signature implementation (a…

    …xelarnetwork#287)
    
    * update signature verification to throw error when false
    
    * add unit test
    
    * inverted checks
    
    * update unit test assert
    eguajardo authored Mar 4, 2024
    Configuration menu
    Copy the full SHA
    e120fa8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0be4b7d View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2024

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