From 9947607e2f9bf733cbfd264d92560b75308f0294 Mon Sep 17 00:00:00 2001 From: Jay Geng Date: Wed, 22 Mar 2023 12:07:59 -0400 Subject: [PATCH] bump env and update budget print (#896) ### What Bump env to pick up the increased memory budget and update budget print. ### Why [TODO: Why this change is being made. Include any context required to understand the why.] ### Known limitations [TODO or N/A] --- Cargo.lock | 10 +++++----- Cargo.toml | 6 +++--- soroban-sdk/src/testutils.rs | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 88a988a34..c117fff1b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -845,7 +845,7 @@ dependencies = [ [[package]] name = "soroban-env-common" version = "0.0.14" -source = "git+https://github.com/stellar/rs-soroban-env?rev=7dde7cb0b35957856a1e0c11432e00532ae20cf8#7dde7cb0b35957856a1e0c11432e00532ae20cf8" +source = "git+https://github.com/stellar/rs-soroban-env?rev=75b21696b0636bd145b7acb47a6fed4621b05978#75b21696b0636bd145b7acb47a6fed4621b05978" dependencies = [ "crate-git-revision", "ethnum", @@ -859,7 +859,7 @@ dependencies = [ [[package]] name = "soroban-env-guest" version = "0.0.14" -source = "git+https://github.com/stellar/rs-soroban-env?rev=7dde7cb0b35957856a1e0c11432e00532ae20cf8#7dde7cb0b35957856a1e0c11432e00532ae20cf8" +source = "git+https://github.com/stellar/rs-soroban-env?rev=75b21696b0636bd145b7acb47a6fed4621b05978#75b21696b0636bd145b7acb47a6fed4621b05978" dependencies = [ "soroban-env-common", "static_assertions", @@ -868,7 +868,7 @@ dependencies = [ [[package]] name = "soroban-env-host" version = "0.0.14" -source = "git+https://github.com/stellar/rs-soroban-env?rev=7dde7cb0b35957856a1e0c11432e00532ae20cf8#7dde7cb0b35957856a1e0c11432e00532ae20cf8" +source = "git+https://github.com/stellar/rs-soroban-env?rev=75b21696b0636bd145b7acb47a6fed4621b05978#75b21696b0636bd145b7acb47a6fed4621b05978" dependencies = [ "backtrace", "curve25519-dalek", @@ -890,7 +890,7 @@ dependencies = [ [[package]] name = "soroban-env-macros" version = "0.0.14" -source = "git+https://github.com/stellar/rs-soroban-env?rev=7dde7cb0b35957856a1e0c11432e00532ae20cf8#7dde7cb0b35957856a1e0c11432e00532ae20cf8" +source = "git+https://github.com/stellar/rs-soroban-env?rev=75b21696b0636bd145b7acb47a6fed4621b05978#75b21696b0636bd145b7acb47a6fed4621b05978" dependencies = [ "itertools", "proc-macro2", @@ -916,7 +916,7 @@ dependencies = [ [[package]] name = "soroban-native-sdk-macros" version = "0.0.14" -source = "git+https://github.com/stellar/rs-soroban-env?rev=7dde7cb0b35957856a1e0c11432e00532ae20cf8#7dde7cb0b35957856a1e0c11432e00532ae20cf8" +source = "git+https://github.com/stellar/rs-soroban-env?rev=75b21696b0636bd145b7acb47a6fed4621b05978#75b21696b0636bd145b7acb47a6fed4621b05978" dependencies = [ "itertools", "proc-macro2", diff --git a/Cargo.toml b/Cargo.toml index 6d059618f..31b8c2d26 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,17 +37,17 @@ soroban-token-spec = { version = "0.6.0", path = "soroban-token-spec" } [workspace.dependencies.soroban-env-common] version = "0.0.14" git = "https://github.com/stellar/rs-soroban-env" -rev = "7dde7cb0b35957856a1e0c11432e00532ae20cf8" +rev = "75b21696b0636bd145b7acb47a6fed4621b05978" [workspace.dependencies.soroban-env-guest] version = "0.0.14" git = "https://github.com/stellar/rs-soroban-env" -rev = "7dde7cb0b35957856a1e0c11432e00532ae20cf8" +rev = "75b21696b0636bd145b7acb47a6fed4621b05978" [workspace.dependencies.soroban-env-host] version = "0.0.14" git = "https://github.com/stellar/rs-soroban-env" -rev = "7dde7cb0b35957856a1e0c11432e00532ae20cf8" +rev = "75b21696b0636bd145b7acb47a6fed4621b05978" [workspace.dependencies.stellar-strkey] version = "0.0.7" diff --git a/soroban-sdk/src/testutils.rs b/soroban-sdk/src/testutils.rs index 228075810..3606107ed 100644 --- a/soroban-sdk/src/testutils.rs +++ b/soroban-sdk/src/testutils.rs @@ -127,7 +127,7 @@ pub mod budget { /// Print the budget costs and inputs to stdout. pub fn print(&self) { - println!("{}", self); + println!("{}", self.0); } } }