Skip to content

Commit

Permalink
update capabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
faddat committed Dec 22, 2024
1 parent cbcf5a9 commit 3286d4f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ibc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion internal/api/lib_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion lib_libwasmvm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 3286d4f

Please sign in to comment.