diff --git a/examples/callback-results/res/callback_results.wasm b/examples/callback-results/res/callback_results.wasm index 86a9934d0..90f8f06d2 100755 Binary files a/examples/callback-results/res/callback_results.wasm and b/examples/callback-results/res/callback_results.wasm differ diff --git a/examples/cross-contract-calls/res/cross_contract_high_level.wasm b/examples/cross-contract-calls/res/cross_contract_high_level.wasm index 5cc50327f..829264a33 100755 Binary files a/examples/cross-contract-calls/res/cross_contract_high_level.wasm and b/examples/cross-contract-calls/res/cross_contract_high_level.wasm differ diff --git a/examples/cross-contract-calls/res/cross_contract_low_level.wasm b/examples/cross-contract-calls/res/cross_contract_low_level.wasm index 49b37c4be..0a21db596 100755 Binary files a/examples/cross-contract-calls/res/cross_contract_low_level.wasm and b/examples/cross-contract-calls/res/cross_contract_low_level.wasm differ diff --git a/examples/factory-contract/res/factory_contract_high_level.wasm b/examples/factory-contract/res/factory_contract_high_level.wasm index 04ca0f045..32a94f5ee 100755 Binary files a/examples/factory-contract/res/factory_contract_high_level.wasm and b/examples/factory-contract/res/factory_contract_high_level.wasm differ diff --git a/examples/factory-contract/res/factory_contract_low_level.wasm b/examples/factory-contract/res/factory_contract_low_level.wasm index cf233a40c..afe5e7953 100755 Binary files a/examples/factory-contract/res/factory_contract_low_level.wasm and b/examples/factory-contract/res/factory_contract_low_level.wasm differ diff --git a/examples/fungible-token/res/defi.wasm b/examples/fungible-token/res/defi.wasm index aefa8c80a..550e107e7 100755 Binary files a/examples/fungible-token/res/defi.wasm and b/examples/fungible-token/res/defi.wasm differ diff --git a/examples/fungible-token/res/fungible_token.wasm b/examples/fungible-token/res/fungible_token.wasm index 494035f69..45a44e8aa 100755 Binary files a/examples/fungible-token/res/fungible_token.wasm and b/examples/fungible-token/res/fungible_token.wasm differ diff --git a/examples/lockable-fungible-token/res/lockable_fungible_token.wasm b/examples/lockable-fungible-token/res/lockable_fungible_token.wasm index e1bb81f53..d899cc577 100755 Binary files a/examples/lockable-fungible-token/res/lockable_fungible_token.wasm and b/examples/lockable-fungible-token/res/lockable_fungible_token.wasm differ diff --git a/examples/mission-control/res/mission_control.wasm b/examples/mission-control/res/mission_control.wasm index a0270fa16..b8bed1a4a 100755 Binary files a/examples/mission-control/res/mission_control.wasm and b/examples/mission-control/res/mission_control.wasm differ diff --git a/examples/non-fungible-token/res/approval_receiver.wasm b/examples/non-fungible-token/res/approval_receiver.wasm index c95115828..127747894 100755 Binary files a/examples/non-fungible-token/res/approval_receiver.wasm and b/examples/non-fungible-token/res/approval_receiver.wasm differ diff --git a/examples/non-fungible-token/res/non_fungible_token.wasm b/examples/non-fungible-token/res/non_fungible_token.wasm index aa1c4d01d..cdbfde6f9 100755 Binary files a/examples/non-fungible-token/res/non_fungible_token.wasm and b/examples/non-fungible-token/res/non_fungible_token.wasm differ diff --git a/examples/non-fungible-token/res/token_receiver.wasm b/examples/non-fungible-token/res/token_receiver.wasm index 6c9bb6b6d..a1141cc90 100755 Binary files a/examples/non-fungible-token/res/token_receiver.wasm and b/examples/non-fungible-token/res/token_receiver.wasm differ diff --git a/examples/status-message-collections/res/status_message_collections.wasm b/examples/status-message-collections/res/status_message_collections.wasm index a76c8da31..fe224a4dc 100755 Binary files a/examples/status-message-collections/res/status_message_collections.wasm and b/examples/status-message-collections/res/status_message_collections.wasm differ diff --git a/examples/status-message/res/status_message.wasm b/examples/status-message/res/status_message.wasm index ec9da0f0d..17aff38ba 100755 Binary files a/examples/status-message/res/status_message.wasm and b/examples/status-message/res/status_message.wasm differ diff --git a/examples/test-contract/res/test_contract.wasm b/examples/test-contract/res/test_contract.wasm index 9d0669236..d5ba1d0f8 100755 Binary files a/examples/test-contract/res/test_contract.wasm and b/examples/test-contract/res/test_contract.wasm differ diff --git a/examples/versioned/res/versioned.wasm b/examples/versioned/res/versioned.wasm index d81af9700..945e0995b 100755 Binary files a/examples/versioned/res/versioned.wasm and b/examples/versioned/res/versioned.wasm differ diff --git a/near-sdk/Cargo.toml b/near-sdk/Cargo.toml index f5c905750..41135b46a 100644 --- a/near-sdk/Cargo.toml +++ b/near-sdk/Cargo.toml @@ -23,7 +23,7 @@ serde_json = "1" near-sdk-macros = { path = "../near-sdk-macros", version = "=4.0.0" } near-sys = { path = "../sys", version = "0.2" } base64 = "0.13" -borsh = "0.9" +borsh = { version = "0.9", features = ["const-generics"] } bs58 = "0.4" # Export dependencies for contracts wee_alloc = { version = "0.4.5", default-features = false, optional = true }