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

Add update functionality for WASM code id #238

Commits on Aug 4, 2023

  1. Add update functionality for WASM code id

    The commit introduces the new rpc handler method, `UpdateWasmCodeId`, for updating the WASM code id within IBC light clients. This allows clients to change the existing code id for WASM contracts. The new function takes in three parameters, signer, client id, and code id and updates the existing code id for the given client. This functionality was necessary for providing flexibility in managing the contracts.
    
    The update can only be triggered by the authority.
    vmarkushin committed Aug 4, 2023
    Configuration menu
    Copy the full SHA
    b4253a5 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2023

  1. Refactor validation and cleanup unused code

    The `ValidateBasic()` method calls were removed from `tx.go` as validation is now handled directly within the message struct `MsgUpdateWasmCodeId`, in `msgs.go`. Additionally, unused code was removed from `msg_server.go` to simplify and clean up the codebase.
    vmarkushin committed Sep 23, 2023
    Configuration menu
    Copy the full SHA
    489fa5d View commit details
    Browse the repository at this point in the history
  2. add tests

    vmarkushin committed Sep 23, 2023
    Configuration menu
    Copy the full SHA
    ed35119 View commit details
    Browse the repository at this point in the history
  3. add more test cases

    vmarkushin committed Sep 23, 2023
    Configuration menu
    Copy the full SHA
    4247dce View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2023

  1. remove TODO

    vmarkushin committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    ce6f5ef View commit details
    Browse the repository at this point in the history