Skip to content

Commit

Permalink
feat: update gas meter (#117)
Browse files Browse the repository at this point in the history
* update gas meter

* revert shared libraries

* fix lint

* bump move to latest

* change compiler version to v1 and use v2.1 when v2 requested

* fix script binary path
  • Loading branch information
beer-1 authored Sep 10, 2024
1 parent 14cd25a commit a6c7f12
Show file tree
Hide file tree
Showing 138 changed files with 65 additions and 80 deletions.
44 changes: 23 additions & 21 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -112,27 +112,28 @@ tiny-keccak = { version = "2.0.2", features = ["keccak", "sha3"] }
# Note: the BEGIN and END comments below are required for external tooling. Do not remove.
# BEGIN MOVE DEPENDENCIES

move-binary-format = { git = "https://github.com/initia-labs/aptos-core.git", rev = "1cae58ce6121080564a238238dde2c8124bcb112" }
move-bytecode-verifier = { git = "https://github.com/initia-labs/aptos-core.git", rev = "1cae58ce6121080564a238238dde2c8124bcb112" }
move-bytecode-utils = { git = "https://github.com/initia-labs/aptos-core.git", rev = "1cae58ce6121080564a238238dde2c8124bcb112" }
move-cli = { git = "https://github.com/initia-labs/aptos-core.git", rev = "1cae58ce6121080564a238238dde2c8124bcb112" }
move-command-line-common = { git = "https://github.com/initia-labs/aptos-core.git", rev = "1cae58ce6121080564a238238dde2c8124bcb112" }
move-compiler = { git = "https://github.com/initia-labs/aptos-core.git", rev = "1cae58ce6121080564a238238dde2c8124bcb112" }
move-core-types = { git = "https://github.com/initia-labs/aptos-core.git", rev = "1cae58ce6121080564a238238dde2c8124bcb112" }
move-docgen = { git = "https://github.com/initia-labs/aptos-core.git", rev = "1cae58ce6121080564a238238dde2c8124bcb112" }
move-model = { git = "https://github.com/initia-labs/aptos-core.git", rev = "1cae58ce6121080564a238238dde2c8124bcb112" }
move-package = { git = "https://github.com/initia-labs/aptos-core.git", rev = "1cae58ce6121080564a238238dde2c8124bcb112" }
move-prover = { git = "https://github.com/initia-labs/aptos-core.git", rev = "1cae58ce6121080564a238238dde2c8124bcb112" }
move-prover-boogie-backend = { git = "https://github.com/initia-labs/aptos-core.git", rev = "1cae58ce6121080564a238238dde2c8124bcb112" }
move-prover-bytecode-pipeline = { git = "https://github.com/initia-labs/aptos-core.git", rev = "1cae58ce6121080564a238238dde2c8124bcb112" }
move-resource-viewer = { git = "https://github.com/initia-labs/aptos-core.git", rev = "1cae58ce6121080564a238238dde2c8124bcb112" }
move-stackless-bytecode = { git = "https://github.com/initia-labs/aptos-core.git", rev = "1cae58ce6121080564a238238dde2c8124bcb112" }
move-stdlib = { git = "https://github.com/initia-labs/aptos-core.git", rev = "1cae58ce6121080564a238238dde2c8124bcb112" }
move-symbol-pool = { git = "https://github.com/initia-labs/aptos-core.git", rev = "1cae58ce6121080564a238238dde2c8124bcb112" }
move-unit-test = { git = "https://github.com/initia-labs/aptos-core.git", rev = "1cae58ce6121080564a238238dde2c8124bcb112" }
move-vm-runtime = { git = "https://github.com/initia-labs/aptos-core.git", rev = "1cae58ce6121080564a238238dde2c8124bcb112" }
move-vm-test-utils = { git = "https://github.com/initia-labs/aptos-core.git", rev = "1cae58ce6121080564a238238dde2c8124bcb112" }
move-vm-types = { git = "https://github.com/initia-labs/aptos-core.git", rev = "1cae58ce6121080564a238238dde2c8124bcb112" }
move-binary-format = { git = "https://github.com/aptos-labs/aptos-core.git", rev = "85966af7ddcf971f3f04f4f409c3e67c9d9b11cb" }
move-bytecode-verifier = { git = "https://github.com/aptos-labs/aptos-core.git", rev = "85966af7ddcf971f3f04f4f409c3e67c9d9b11cb" }
move-bytecode-utils = { git = "https://github.com/aptos-labs/aptos-core.git", rev = "85966af7ddcf971f3f04f4f409c3e67c9d9b11cb" }
move-cli = { git = "https://github.com/aptos-labs/aptos-core.git", rev = "85966af7ddcf971f3f04f4f409c3e67c9d9b11cb" }
move-command-line-common = { git = "https://github.com/aptos-labs/aptos-core.git", rev = "85966af7ddcf971f3f04f4f409c3e67c9d9b11cb" }
move-compiler = { git = "https://github.com/aptos-labs/aptos-core.git", rev = "85966af7ddcf971f3f04f4f409c3e67c9d9b11cb" }
move-coverage = { git = "https://github.com/aptos-labs/aptos-core.git", rev = "85966af7ddcf971f3f04f4f409c3e67c9d9b11cb" }
move-core-types = { git = "https://github.com/aptos-labs/aptos-core.git", rev = "85966af7ddcf971f3f04f4f409c3e67c9d9b11cb" }
move-docgen = { git = "https://github.com/aptos-labs/aptos-core.git", rev = "85966af7ddcf971f3f04f4f409c3e67c9d9b11cb" }
move-model = { git = "https://github.com/aptos-labs/aptos-core.git", rev = "85966af7ddcf971f3f04f4f409c3e67c9d9b11cb" }
move-package = { git = "https://github.com/aptos-labs/aptos-core.git", rev = "85966af7ddcf971f3f04f4f409c3e67c9d9b11cb" }
move-prover = { git = "https://github.com/aptos-labs/aptos-core.git", rev = "85966af7ddcf971f3f04f4f409c3e67c9d9b11cb" }
move-prover-boogie-backend = { git = "https://github.com/aptos-labs/aptos-core.git", rev = "85966af7ddcf971f3f04f4f409c3e67c9d9b11cb" }
move-prover-bytecode-pipeline = { git = "https://github.com/aptos-labs/aptos-core.git", rev = "85966af7ddcf971f3f04f4f409c3e67c9d9b11cb" }
move-resource-viewer = { git = "https://github.com/aptos-labs/aptos-core.git", rev = "85966af7ddcf971f3f04f4f409c3e67c9d9b11cb" }
move-stackless-bytecode = { git = "https://github.com/aptos-labs/aptos-core.git", rev = "85966af7ddcf971f3f04f4f409c3e67c9d9b11cb" }
move-stdlib = { git = "https://github.com/aptos-labs/aptos-core.git", rev = "85966af7ddcf971f3f04f4f409c3e67c9d9b11cb" }
move-symbol-pool = { git = "https://github.com/aptos-labs/aptos-core.git", rev = "85966af7ddcf971f3f04f4f409c3e67c9d9b11cb" }
move-unit-test = { git = "https://github.com/aptos-labs/aptos-core.git", rev = "85966af7ddcf971f3f04f4f409c3e67c9d9b11cb" }
move-vm-runtime = { git = "https://github.com/aptos-labs/aptos-core.git", rev = "85966af7ddcf971f3f04f4f409c3e67c9d9b11cb" }
move-vm-test-utils = { git = "https://github.com/aptos-labs/aptos-core.git", rev = "85966af7ddcf971f3f04f4f409c3e67c9d9b11cb" }
move-vm-types = { git = "https://github.com/aptos-labs/aptos-core.git", rev = "85966af7ddcf971f3f04f4f409c3e67c9d9b11cb" }

# END MOVE DEPENDENCIES

Expand All @@ -143,6 +144,7 @@ move-vm-types = { git = "https://github.com/initia-labs/aptos-core.git", rev = "
# move-cli = { path = "../aptos-core/third_party/move/tools/move-cli" }
# move-command-line-common = { path = "../aptos-core/third_party/move/move-command-line-common" }
# move-compiler = { path = "../aptos-core/third_party/move/move-compiler" }
# move-coverage ={ path = "../aptos-core/third_party/move/tools/move-coverage" }
# move-core-types = { path = "../aptos-core/third_party/move/move-core/types" }
# move-docgen = { path = "../aptos-core/third_party/move/move-prover/move-docgen" }
# move-model = { path = "../aptos-core/third_party/move/move-model" }
Expand Down
1 change: 1 addition & 0 deletions crates/compiler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ initia-move-storage = { workspace = true }
move-command-line-common = { workspace = true }
move-cli = { workspace = true }
move-core-types = { workspace = true }
move-coverage ={ workspace = true }
move-package = { workspace = true }
move-unit-test = { workspace = true }
move-vm-runtime = { workspace = true, features = ["testing"] }
Expand Down
36 changes: 5 additions & 31 deletions crates/compiler/src/built_package.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,12 @@ use itertools::Itertools;
use move_binary_format::CompiledModule;
use move_command_line_common::files::MOVE_COMPILED_EXTENSION;
use move_compiler::compiled_unit::{CompiledUnit, NamedCompiledModule};
use move_core_types::{
language_storage::ModuleId, metadata::Metadata,
};
use move_core_types::{language_storage::ModuleId, metadata::Metadata};
use move_docgen::DocgenOptions;
use move_model::{
metadata::{CompilerVersion, LanguageVersion},
model::GlobalEnv,
};
use move_model::metadata::{CompilerVersion, LanguageVersion};
use move_package::{
compilation::{compiled_package::CompiledPackage, package_layout::CompiledPackageLayout},
BuildConfig, ModelConfig,
BuildConfig,
};
use std::{
collections::BTreeMap,
Expand All @@ -37,27 +32,6 @@ pub struct BuiltPackage {
package: CompiledPackage,
}

pub fn build_model(package_path: &Path, build_config: BuildConfig) -> anyhow::Result<GlobalEnv> {
let compiler_version = build_config
.compiler_config
.compiler_version
.unwrap_or(CompilerVersion::V2_0);
let language_version = build_config
.compiler_config
.language_version
.unwrap_or(LanguageVersion::V2_0);

build_config.move_model_for_package(
package_path,
ModelConfig {
target_filter: None,
all_files_as_targets: false,
compiler_version,
language_version,
},
)
}

impl BuiltPackage {
/// Builds the package and on success delivers a `BuiltPackage`.
///
Expand All @@ -84,10 +58,10 @@ impl BuiltPackage {

// use v2 as default
if new_config.compiler_config.compiler_version.is_none() {
new_config.compiler_config.compiler_version = Some(CompilerVersion::V2_0);
new_config.compiler_config.compiler_version = Some(CompilerVersion::V1);
}
if new_config.compiler_config.language_version.is_none() {
new_config.compiler_config.language_version = Some(LanguageVersion::V2_0);
new_config.compiler_config.language_version = Some(LanguageVersion::V1);
}

let (mut package, model_opt) =
Expand Down
7 changes: 5 additions & 2 deletions crates/compiler/src/test_package.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ use move_cli::base::{
test::{run_move_unit_tests_with_factory, Test, UnitTestResult},
};
use move_core_types::effects::ChangeSet;
use move_coverage::source_coverage::{ColorChoice, TextIndicator};
use move_model::metadata::{CompilerVersion, LanguageVersion};
use move_package::BuildConfig;
use move_unit_test::UnitTestingConfig;
Expand All @@ -36,10 +37,10 @@ impl TestPackage {

// use v2 as default
if new_build_config.compiler_config.compiler_version.is_none() {
new_build_config.compiler_config.compiler_version = Some(CompilerVersion::V2_0);
new_build_config.compiler_config.compiler_version = Some(CompilerVersion::V2_1);
}
if new_build_config.compiler_config.language_version.is_none() {
new_build_config.compiler_config.language_version = Some(LanguageVersion::V2_0);
new_build_config.compiler_config.language_version = Some(LanguageVersion::V2_1);
}

configure_for_unit_test();
Expand Down Expand Up @@ -76,6 +77,8 @@ impl TestPackage {
functions: false,
output_csv: false,
},
color: ColorChoice::Default,
tag: TextIndicator::Explicit,
},
Some(self.package_path.clone()),
self.build_config.clone(),
Expand Down
41 changes: 19 additions & 22 deletions crates/compiler/src/unit_test_factory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use initia_move_types::write_set::WriteSet;
use move_binary_format::errors::{Location, PartialVMError, VMResult};
use move_core_types::{effects::ChangeSet, vm_status::StatusCode};
use move_unit_test::test_reporter::{TestRunInfo, UnitTestFactory};
use move_vm_runtime::session::Session;
use move_vm_runtime::native_extensions::NativeContextExtensions;

pub struct InitiaUnitTestFactory {
pub gas_params: InitiaGasParameters,
Expand Down Expand Up @@ -40,17 +40,19 @@ impl InitiaUnitTestFactory {
}

// gas meter required for testing gas metering
impl UnitTestFactory<InitiaGasMeter> for InitiaUnitTestFactory {
fn new_gas_meter(&self) -> InitiaGasMeter {
impl UnitTestFactory for InitiaUnitTestFactory {
type GasMeter = InitiaGasMeter;
fn new_gas_meter(&self) -> Self::GasMeter {
InitiaGasMeter::new(self.gas_params.clone(), self.balance)
}

fn finish_session(
fn finalize_test_run_info(
&self,
session: Session,
mut gas_meter: InitiaGasMeter,
change_set: &ChangeSet,
extensions: &mut NativeContextExtensions,
mut gas_meter: Self::GasMeter,
mut test_run_info: TestRunInfo,
) -> (VMResult<ChangeSet>, TestRunInfo) {
) -> TestRunInfo {
let mut apply_gas_used = |gas_meter: InitiaGasMeter| {
test_run_info.gas_used = gas_meter
.gas_limit()
Expand All @@ -59,23 +61,18 @@ impl UnitTestFactory<InitiaGasMeter> for InitiaUnitTestFactory {
.into();
};

match session.finish_with_extensions() {
Ok((cs, mut exts)) => {
let table_context: NativeTableContext = exts.remove::<NativeTableContext>();
match Self::charge_write_set_gas(&mut gas_meter, &cs, table_context) {
Ok(()) => {
apply_gas_used(gas_meter);
(Ok(cs), test_run_info)
}
Err(err) => {
apply_gas_used(gas_meter);
(Err(err), test_run_info)
},
}
match Self::charge_write_set_gas(
&mut gas_meter,
change_set,
extensions.remove::<NativeTableContext>(),
) {
Ok(()) => {
apply_gas_used(gas_meter);
test_run_info
}
Err(err) => {
Err(_) => {
apply_gas_used(gas_meter);
(Err(err), test_run_info)
test_run_info
}
}
}
Expand Down
1 change: 1 addition & 0 deletions crates/types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ move-cli = { workspace = true }
move-docgen = { workspace = true }
move-package = { workspace = true }
move-model = { workspace = true }
move-coverage = { workspace = true }

anyhow = { workspace = true }
bcs = { workspace = true }
Expand Down
11 changes: 9 additions & 2 deletions crates/types/src/compiler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ use move_cli::{
Move,
};
use move_core_types::account_address::AccountAddress;
use move_coverage::source_coverage::{ColorChoice, TextIndicator};
use move_docgen::DocgenOptions;
use move_model::metadata::{CompilerVersion, LanguageVersion};
use move_package::{Architecture, BuildConfig, CompilerConfig};
Expand Down Expand Up @@ -88,12 +89,12 @@ impl From<CompilerBuildConfig> for BuildConfig {
},
compiler_version: match val.compiler_version {
1 => Some(CompilerVersion::V1),
2 => Some(CompilerVersion::V2_0),
2 => Some(CompilerVersion::V2_1),
_ => None,
},
language_version: match val.language_version {
1 => Some(LanguageVersion::V1),
2 => Some(LanguageVersion::V2_0),
2 => Some(LanguageVersion::V2_1),
_ => None,
},
..Default::default()
Expand Down Expand Up @@ -150,6 +151,8 @@ impl From<CompilerCoverageSummaryOptions> for Coverage {
functions: val.functions,
output_csv: val.output_csv,
},
color: ColorChoice::Default,
tag: TextIndicator::Explicit,
}
}
}
Expand All @@ -166,6 +169,8 @@ impl From<CompilerCoverageSourceOptions> for Coverage {
options: CoverageSummaryOptions::Source {
module_name: module_name.unwrap(),
},
color: ColorChoice::Default,
tag: TextIndicator::Explicit,
}
}
}
Expand All @@ -182,6 +187,8 @@ impl From<CompilerCoverageBytecodeOptions> for Coverage {
options: CoverageSummaryOptions::Bytecode {
module_name: module_name.unwrap(),
},
color: ColorChoice::Default,
tag: TextIndicator::Explicit,
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions lib_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ func Test_DecodeScript(t *testing.T) {
vm, _ := initializeVM(t, true)
defer vm.Destroy()

f, err := os.ReadFile("./precompile/binaries/tests/main_0.mv")
f, err := os.ReadFile("./precompile/binaries/tests/main.mv")
require.NoError(t, err)

bz, err := api.DecodeScriptBytes(f)
Expand All @@ -428,7 +428,7 @@ func Test_ExecuteScript(t *testing.T) {

publishModuleBundle(t, vm, kvStore)

f, err := os.ReadFile("./precompile/binaries/tests/main_0.mv")
f, err := os.ReadFile("./precompile/binaries/tests/main.mv")
require.NoError(t, err)

testAccount, err := types.NewAccountAddress("0x2")
Expand Down
Binary file modified precompile/binaries/minlib/account.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/acl.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/address.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/any.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/aptos_hash.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/ascii.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/base64.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/bcs.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/bigdecimal.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/biguint.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/bit_vector.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/block.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/capability.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/code.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/coin.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/collection.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/comparator.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/compare.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/copyable_any.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/cosmos.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/debug.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/dex.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/dispatchable_fungible_asset.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/ed25519.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/error.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/event.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/fixed_point32.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/fixed_point64.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/from_bcs.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/function_info.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/fungible_asset.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/guid.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/hash.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/hex.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/initia_nft.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/json.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/keccak.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/managed_coin.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/math128.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/math64.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/multisig.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/nft.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/object.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/object_code_deployment.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/option.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/oracle.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/primary_fungible_store.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/property_map.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/query.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/royalty.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/secp256k1.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/signer.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/simple_map.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/simple_nft.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/soul_bound_token.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/string.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/string_utils.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/table.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/table_key.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/timestamp.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/transaction_context.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/type_info.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/vector.mv
Binary file not shown.
Binary file modified precompile/binaries/minlib/vip_score.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/account.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/acl.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/address.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/any.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/aptos_hash.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/ascii.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/base64.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/bcs.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/bigdecimal.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/biguint.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/bit_vector.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/block.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/capability.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/code.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/coin.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/collection.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/comparator.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/compare.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/copyable_any.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/cosmos.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/debug.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/dex.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/dispatchable_fungible_asset.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/ed25519.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/error.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/event.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/fixed_point32.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/fixed_point64.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/from_bcs.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/function_info.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/fungible_asset.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/guid.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/hash.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/hex.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/initia_nft.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/json.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/keccak.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/managed_coin.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/math128.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/math64.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/minitswap.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/multisig.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/nft.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/object.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/object_code_deployment.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/option.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/oracle.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/primary_fungible_store.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/property_map.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/query.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/royalty.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/secp256k1.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/signer.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/simple_map.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/simple_nft.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/soul_bound_token.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/stableswap.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/staking.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/string.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/string_utils.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/table.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/table_key.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/timestamp.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/transaction_context.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/type_info.mv
Binary file not shown.
Binary file modified precompile/binaries/stdlib/vector.mv
Binary file not shown.

0 comments on commit a6c7f12

Please sign in to comment.