diff --git a/examples/cross-contract-high-level/res/cross_contract_high_level.wasm b/examples/cross-contract-high-level/res/cross_contract_high_level.wasm index e4fd7d9ae..669d35742 100755 Binary files a/examples/cross-contract-high-level/res/cross_contract_high_level.wasm and b/examples/cross-contract-high-level/res/cross_contract_high_level.wasm differ diff --git a/examples/cross-contract-low-level/res/cross_contract_low_level.wasm b/examples/cross-contract-low-level/res/cross_contract_low_level.wasm index 5af1fa7e0..ed6fa3331 100755 Binary files a/examples/cross-contract-low-level/res/cross_contract_low_level.wasm and b/examples/cross-contract-low-level/res/cross_contract_low_level.wasm differ diff --git a/examples/fungible-token/res/fungible_token.wasm b/examples/fungible-token/res/fungible_token.wasm index f8e6d541c..b2d59063c 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/gas-fee-tester/res/gas_fee_tester.wasm b/examples/gas-fee-tester/res/gas_fee_tester.wasm index 57d939b29..aa84a81c3 100755 Binary files a/examples/gas-fee-tester/res/gas_fee_tester.wasm and b/examples/gas-fee-tester/res/gas_fee_tester.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 9935a153f..a74165d8b 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 b73a18823..fa2161a69 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/status-message-collections/res/status_message_collections.wasm b/examples/status-message-collections/res/status_message_collections.wasm index 993307f1f..3602c0664 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 105adc049..93503d483 100755 Binary files a/examples/status-message/res/status_message.wasm and b/examples/status-message/res/status_message.wasm differ diff --git a/near-sdk-core/src/code_generator/item_trait_info.rs b/near-sdk-core/src/code_generator/item_trait_info.rs index 372d52123..0f187c9b9 100644 --- a/near-sdk-core/src/code_generator/item_trait_info.rs +++ b/near-sdk-core/src/code_generator/item_trait_info.rs @@ -11,7 +11,7 @@ impl ItemTraitInfo { } let mod_name = &self.mod_name; quote! { - mod #mod_name { + pub mod #mod_name { use super::*; use near_sdk::{Gas, Balance, AccountId, Promise}; use std::string::ToString; @@ -51,7 +51,7 @@ mod tests { let actual = info.wrapped_module(); let expected = quote! { - mod external_cross_contract { + pub mod external_cross_contract { use super::*; use near_sdk::{Gas, Balance, AccountId, Promise}; use std::string::ToString;