From 3286d4fc30562478a58244afc88ed81731373a23 Mon Sep 17 00:00:00 2001 From: Jacob Gadikian Date: Mon, 23 Dec 2024 01:50:11 +0700 Subject: [PATCH] update capabilities --- ibc_test.go | 2 +- internal/api/lib_test.go | 2 +- lib_libwasmvm_test.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ibc_test.go b/ibc_test.go index 2da754d14..4b3c3fd7d 100644 --- a/ibc_test.go +++ b/ibc_test.go @@ -301,7 +301,7 @@ func TestAnalyzeCode(t *testing.T) { report, err := vm.AnalyzeCode(checksum) require.NoError(t, err) require.False(t, report.HasIBCEntryPoints) - require.Equal(t, "", report.RequiredCapabilities) + require.Equal(t, "cosmwasm_1_1,cosmwasm_1_2,cosmwasm_1_3,cosmwasm_1_4,cosmwasm_2_0,cosmwasm_2_1,cosmwasm_2_2", report.RequiredCapabilities) require.Equal(t, uint64(42), *report.ContractMigrateVersion) // Store IBC contract diff --git a/internal/api/lib_test.go b/internal/api/lib_test.go index 90c55a8c2..ff48a4d0e 100644 --- a/internal/api/lib_test.go +++ b/internal/api/lib_test.go @@ -26,7 +26,7 @@ const ( TESTING_CACHE_SIZE = 100 // MiB ) -var TESTING_CAPABILITIES = []string{"staking", "stargate", "iterator", "cosmwasm_1_1", "cosmwasm_1_2", "cosmwasm_1_3"} +var TESTING_CAPABILITIES = []string{"staking", "stargate", "iterator", "cosmwasm_1_1", "cosmwasm_1_2", "cosmwasm_1_3", "cosmwasm_1_4", "cosmwasm_2_0", "cosmwasm_2_1", "cosmwasm_2_2"} func TestInitAndReleaseCache(t *testing.T) { tmpdir, err := os.MkdirTemp("", "wasmvm-testing") diff --git a/lib_libwasmvm_test.go b/lib_libwasmvm_test.go index 4c25f69a0..c8089de30 100644 --- a/lib_libwasmvm_test.go +++ b/lib_libwasmvm_test.go @@ -23,7 +23,7 @@ const ( TESTING_CACHE_SIZE = 100 // MiB ) -var TESTING_CAPABILITIES = []string{"staking", "stargate", "iterator"} +var TESTING_CAPABILITIES = []string{"staking", "stargate", "iterator", "cosmwasm_1_1", "cosmwasm_1_2", "cosmwasm_1_3", "cosmwasm_1_4", "cosmwasm_2_0", "cosmwasm_2_1", "cosmwasm_2_2"} const ( CYBERPUNK_TEST_CONTRACT = "./testdata/cyberpunk.wasm"