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

deps: update wasm-clients to sdk50 #4616

Closed
wants to merge 70 commits into from

Commits on Jul 6, 2023

  1. feat: add wasm light client module to feat/wasm-clients branch (cosmo…

    …s#3486)
    
    Co-authored-by: Jack Zampolin <jack.zampolin@gmail.com>
    Co-authored-by: antstalepresh <stalepresh121@outlook.com>
    Co-authored-by: Vladislav Markushin <negigic@gmail.com>
    Co-authored-by: Blas Rodriguez Irizar <rodrigblas@gmail.com>
    Co-authored-by: Jacob Gadikian <jacobgadikian@gmail.com>
    Co-authored-by: vuong <nguyenvuong1122000@gmail.com>
    Co-authored-by: Carlos Rodriguez <carlos@interchain.io>
    8 people authored Jul 6, 2023
    Configuration menu
    Copy the full SHA
    01e8548 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    40337dd View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2023

  1. linting

    crodriguezvega committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    90ed894 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2023

  1. Migrated the errors to new package (cosmos#4058)

    * new error
    
    * changed all the errors
    
    * feat: Changed some more erros from sdkerrors to errorsmod
    
    * added ibcerrors
    
    * fixes and linting
    
    ---------
    
    Co-authored-by: Carlos Rodriguez <carlos@interchain.io>
    vishal-kanna and crodriguezvega authored Jul 12, 2023
    Configuration menu
    Copy the full SHA
    cf6fbfe View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    28d46c1 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2023

  1. imp: make separate go.mod for 08-wasm (cosmos#4026)

    * imp: add separate go.mod for 08-wasm
    
    * fix e2e build
    
    * remove import
    
    * lint
    
    * Amend CI testing to not build on arm, correctly cross compile on arm64. (cosmos#4065)
    
    * Use alpine for building simd in docker. Link statically. (cosmos#4066)
    
    ---------
    
    Co-authored-by: Charly <charly@interchain.berlin>
    Co-authored-by: Jim Fasarakis-Hilliard <d.f.hilliard@gmail.com>
    3 people authored Jul 13, 2023
    Configuration menu
    Copy the full SHA
    255905a View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2023

  1. imp: remove code id key from genesis contract (cosmos#4032)

    * remove code ID key from genesis type
    
    * address review comment
    crodriguezvega authored Jul 14, 2023
    Configuration menu
    Copy the full SHA
    8bc0c68 View commit details
    Browse the repository at this point in the history
  2. fix imports

    crodriguezvega committed Jul 14, 2023
    Configuration menu
    Copy the full SHA
    b6e8a3a View commit details
    Browse the repository at this point in the history
  3. bump wasmvm (cosmos#4086)

    * bump wasmvm to v1.2.4
    
    * go mod tidy e2e
    
    * Update Dockerfile
    
    * update libwasm sha
    
    * more go mod tidy
    
    ---------
    
    Co-authored-by: Jim Fasarakis-Hilliard <d.f.hilliard@gmail.com>
    crodriguezvega and DimitrisJim authored Jul 14, 2023
    Configuration menu
    Copy the full SHA
    2901cf8 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2023

  1. build and test wasm client on PR (cosmos#4095)

    * build and test wasm-client on pull request
    
    * add arm64 for wasm build only
    Reecepbcups authored Jul 16, 2023
    Configuration menu
    Copy the full SHA
    581a27f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5a1a249 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2023

  1. Merge storeWasmCode and importWasmCode functions (cosmos#4088)

    * merge functions
    
    * address review comment
    crodriguezvega authored Jul 17, 2023
    Configuration menu
    Copy the full SHA
    3607dd2 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2023

  1. Pin code to the wasm VM cache (cosmos#4093)

    * pin code to the wasm VM cache
    
    * follow ibc-go error wrapping standards
    
    * Update modules/light-clients/08-wasm/keeper/keeper.go
    
    Co-authored-by: Reece Williams <31943163+Reecepbcups@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: Damian Nolan <damiannolan@gmail.com>
    Reecepbcups and damiannolan authored Jul 18, 2023
    Configuration menu
    Copy the full SHA
    9298fe6 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2023

  1. just some renaming

    crodriguezvega committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    731dbbf View commit details
    Browse the repository at this point in the history
  2. renaming to align with x/wasm naming (cosmos#4091)

    * renaming to align with x/wasm naming
    
    * fix typo
    
    * Update docs/architecture/adr-027-ibc-wasm.md
    
    Co-authored-by: Damian Nolan <damiannolan@gmail.com>
    
    * address review comments
    
    * review comment
    
    ---------
    
    Co-authored-by: Damian Nolan <damiannolan@gmail.com>
    crodriguezvega and damiannolan authored Jul 20, 2023
    Configuration menu
    Copy the full SHA
    59ccad5 View commit details
    Browse the repository at this point in the history
  3. imp: disallow submessage execution (cosmos#4130)

    * disallow submessage execution
    
    * fix error code
    
    * alignment
    
    * fix
    crodriguezvega authored Jul 20, 2023
    Configuration menu
    Copy the full SHA
    62ed4fb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    341350a View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2023

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

Commits on Jul 30, 2023

  1. Merge branch 'main' into feat/wasm-clients

    # Conflicts:
    #	Dockerfile
    #	testing/chain.go
    crodriguezvega committed Jul 30, 2023
    Configuration menu
    Copy the full SHA
    bffb649 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2023

  1. Add linting for 08-wasm module (cosmos#4206)

    * Add linting for 08-wasm.
    
    * Go mod tidy.
    
    * Please the linter.
    DimitrisJim authored Aug 1, 2023
    Configuration menu
    Copy the full SHA
    bf9d465 View commit details
    Browse the repository at this point in the history
  2. add 08-wasm global store key (cosmos#4185)

    * add 08-wasm global store key
    
    * Update client_state.go
    
    * Update modules/light-clients/08-wasm/types/vm.go
    
    Co-authored-by: Jim Fasarakis-Hilliard <d.f.hilliard@gmail.com>
    
    ---------
    
    Co-authored-by: Jim Fasarakis-Hilliard <d.f.hilliard@gmail.com>
    crodriguezvega and DimitrisJim authored Aug 1, 2023
    Configuration menu
    Copy the full SHA
    ed41863 View commit details
    Browse the repository at this point in the history
  3. imp: delegate store operation of clientState and consensusState i…

    …n `initialize` to contract (cosmos#4033)
    
    * remove calls to set client state and consensus state from initialize
    
    * linting
    
    * Update contracts
    
    * use errorsmod
    
    ---------
    
    Co-authored-by: Vladislav Markushin <negigic@gmail.com>
    crodriguezvega and vmarkushin authored Aug 1, 2023
    Configuration menu
    Copy the full SHA
    de89920 View commit details
    Browse the repository at this point in the history
  4. imp: remove timestamp from consensusState and query contract to r…

    …etrieve it (cosmos#4034)
    
    * imp: remove timestamp from consensus state
    
    * more linting
    
    * make types unexported
    
    * make proto-all
    
    * code hash for code id
    
    * Use hasConsensusState instead of GetConsensusState (cosmos#4171)
    
    * Use hasConsensusState instead of GetConsensusState.
    
    * Use wasmQuery for the rest of the query functions. (cosmos#4176)
    
    * Use wasmQuery for the rest of the query functions.
    
    ---------
    
    Co-authored-by: Carlos Rodriguez <carlos@interchain.io>
    
    * review comments
    
    * Remove check for consensus state.
    
    * Add linting for 08-wasm module (cosmos#4206)
    
    * Add linting for 08-wasm.
    
    * Go mod tidy.
    
    * Please the linter.
    
    * add 08-wasm global store key (cosmos#4185)
    
    * add 08-wasm global store key
    
    * Update client_state.go
    
    * Update modules/light-clients/08-wasm/types/vm.go
    
    Co-authored-by: Jim Fasarakis-Hilliard <d.f.hilliard@gmail.com>
    
    ---------
    
    Co-authored-by: Jim Fasarakis-Hilliard <d.f.hilliard@gmail.com>
    
    * solve conflicts
    
    * review comments/fix linter warnings
    
    * address comments
    
    * add missing check
    
    * remove check that was wrong
    
    ---------
    
    Co-authored-by: Jim Fasarakis-Hilliard <d.f.hilliard@gmail.com>
    crodriguezvega and DimitrisJim authored Aug 1, 2023
    Configuration menu
    Copy the full SHA
    644367f View commit details
    Browse the repository at this point in the history
  5. imp: remove height from header and merge header with `misbehavi…

    …our` (cosmos#4049)
    
    * imp: merge header and misbehaviour types
    
    * remove unused code
    crodriguezvega authored Aug 1, 2023
    Configuration menu
    Copy the full SHA
    20d4d7e View commit details
    Browse the repository at this point in the history
  6. imp: add query and sudo message types to encapsulate all variants of …

    …calls (cosmos#4133)
    
    * defined query and sudo message types to encapsulate all variants for calls
    
    * pass client message
    
    * add ClientMessage from cosmos#4049
    
    * address review comments
    
    * linter
    
    * gofumpt
    
    * review comment
    
    * more gofumpt
    crodriguezvega authored Aug 1, 2023
    Configuration menu
    Copy the full SHA
    54f29ee View commit details
    Browse the repository at this point in the history
  7. add 08-wasm Keeper constructor that accepts pointer to Wasm VM instan…

    …ce (cosmos#4109)
    
    * add constructor that accepts pointer to Wasm VM instance
    
    * typo
    
    * add functions that returns wasm config with default values
    
    * review comment
    
    * Apply suggestions from code review
    
    Co-authored-by: Cian Hatton <cian@interchain.io>
    
    * review comments
    
    * rename constructor function
    
    * address review comments
    
    * set contract debug mode to false
    
    ---------
    
    Co-authored-by: Cian Hatton <cian@interchain.io>
    crodriguezvega and chatton authored Aug 1, 2023
    Configuration menu
    Copy the full SHA
    c4f8da4 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2023

  1. Configuration menu
    Copy the full SHA
    2e17bb2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    49c5e7d View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2023

  1. Unit tests: temporarily disable grandpa testing, update

    TestInitializeTendermint(), remove unnecessary test from
    TestConsensusStateValidateBasic(), change the update state result's
    height type.
    misko9 committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    607aea9 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2023

  1. Clean up vm entry points (cosmos#4279)

    * Rename from call to wasmCall.
    
    * Move wasmQuery, wasmCall into vm.
    
    * Add wasmInit, mirroring wasmCall and wasmQuery.
    
    * Directly return after wasmInit.
    DimitrisJim authored Aug 14, 2023
    Configuration menu
    Copy the full SHA
    4f0a711 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' into feat/wasm-clients

    # Conflicts:
    #	testing/config.go
    crodriguezvega committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    479f470 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2023

  1. add halborn audit report

    adiraviraj authored Aug 15, 2023
    Configuration menu
    Copy the full SHA
    2a7c242 View commit details
    Browse the repository at this point in the history
  2. Add files via upload

    adiraviraj authored Aug 15, 2023
    Configuration menu
    Copy the full SHA
    fb9eed5 View commit details
    Browse the repository at this point in the history
  3. add wasm client audit reports (cosmos#4351)

    * Delete Halborn audit report
    
    * Add files via upload
    
    * delete wrong version
    
    * Add files via upload
    adiraviraj authored Aug 15, 2023
    Configuration menu
    Copy the full SHA
    03d077b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    16e1026 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2023

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

Commits on Aug 30, 2023

  1. Configuration menu
    Copy the full SHA
    c34fd15 View commit details
    Browse the repository at this point in the history
  2. TestVerifyNonMembershipGrandpa, TestInitializeGrandpa,

    TestStatusGrandpa, and TestExportGenesisGrandpa working again
    misko9 committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    86dcf72 View commit details
    Browse the repository at this point in the history
  3. TestCheckSubstituteAndUpdateStateGrandpa, TestVerifyHeaderGrandpa,

    TestUpdateStateGrandpa, TestVerifyUpgradeGrandpa working again
    misko9 committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    81abf1e View commit details
    Browse the repository at this point in the history
  4. Run linter

    misko9 committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    33fa18b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    25548ba View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2023

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

Commits on Sep 1, 2023

  1. deps(08-wasm): bump SDK v0.47.5 (cosmos#4540)

    * deps: bump
    
    * bump e2e
    
    * go mod tidy
    crodriguezvega authored Sep 1, 2023
    Configuration menu
    Copy the full SHA
    83ca9bb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fb745e8 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'main' into feat/wasm-clients

    # Conflicts:
    #	.github/dependabot.yml
    #	e2e/go.mod
    #	e2e/go.sum
    #	go.sum
    crodriguezvega committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    1425ca2 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2023

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

Commits on Sep 7, 2023

  1. Fix dependabot file.

    DimitrisJim committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    8f5354b View commit details
    Browse the repository at this point in the history
  2. Add new cmd to store code via a gov proposal. (cosmos#4565)

    * Add new cmd to store code via a gov proposal.
    
    * Address feedback.
    
    Co-authored-by: Carlos Rodriguez <carlos@interchain.io>
    
    ---------
    
    Co-authored-by: Carlos Rodriguez <carlos@interchain.io>
    DimitrisJim and crodriguezvega authored Sep 7, 2023
    Configuration menu
    Copy the full SHA
    120d45b View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2023

  1. update wasmVM

    faddat committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    2efea92 View commit details
    Browse the repository at this point in the history
  2. use go 1.21 for wasm client

    faddat authored Sep 8, 2023
    Configuration menu
    Copy the full SHA
    d554b86 View commit details
    Browse the repository at this point in the history
  3. update expected values

    faddat committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    b57444b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    070f004 View commit details
    Browse the repository at this point in the history
  5. rebuild protos

    faddat committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    55da45e View commit details
    Browse the repository at this point in the history
  6. Revert "update expected values"

    This reverts commit b57444b.
    faddat committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    b52e90d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7114e90 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    93fcb7c View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2023

  1. Configuration menu
    Copy the full SHA
    81086e4 View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'origin/carlos/implement-interface-08-wa…

    …sm' into faddat/update-wasmvm
    faddat committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    15e5dec View commit details
    Browse the repository at this point in the history
  3. Unit tests: temporarily disable grandpa testing, update

    TestInitializeTendermint(), remove unnecessary test from
    TestConsensusStateValidateBasic(), change the update state result's
    height type.
    misko9 authored and faddat committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    c0dab17 View commit details
    Browse the repository at this point in the history
  4. TestVerifyMembershipGrandpa working again

    misko9 authored and faddat committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    7416eb3 View commit details
    Browse the repository at this point in the history
  5. TestVerifyNonMembershipGrandpa, TestInitializeGrandpa,

    TestStatusGrandpa, and TestExportGenesisGrandpa working again
    misko9 authored and faddat committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    6b2719c View commit details
    Browse the repository at this point in the history
  6. TestCheckSubstituteAndUpdateStateGrandpa, TestVerifyHeaderGrandpa,

    TestUpdateStateGrandpa, TestVerifyUpgradeGrandpa working again
    misko9 authored and faddat committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    69d2f8c View commit details
    Browse the repository at this point in the history
  7. Run linter

    misko9 authored and faddat committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    bcd9303 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7f3528a View commit details
    Browse the repository at this point in the history
  9. Add space after comment delimiter

    misko9 authored and faddat committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    0a62b7f View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    a6ec685 View commit details
    Browse the repository at this point in the history
  11. tidy, please the linter

    faddat committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    f2a6971 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2023

  1. Configuration menu
    Copy the full SHA
    4b873d7 View commit details
    Browse the repository at this point in the history
  2. tidy

    faddat committed Sep 10, 2023
    Configuration menu
    Copy the full SHA
    d4b401b View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'strangelove/steve/feat/wasm-clients' in…

    …to faddat/second-attempt-v50
    faddat committed Sep 10, 2023
    Configuration menu
    Copy the full SHA
    64e1d98 View commit details
    Browse the repository at this point in the history