diff --git a/Cargo.lock b/Cargo.lock index 3d3bff95..5eaed891 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -106,7 +106,7 @@ checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" [[package]] name = "blend-contract-sdk" -version = "0.2.0" +version = "1.0.0" dependencies = [ "soroban-sdk", ] diff --git a/blend-contract-sdk/Cargo.toml b/blend-contract-sdk/Cargo.toml index 79e65847..4e803dbb 100644 --- a/blend-contract-sdk/Cargo.toml +++ b/blend-contract-sdk/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "blend-contract-sdk" -version = "0.2.0" +version = "1.0.0" description = "Traits, clients, types, and WASMs for the Blend Protocol for use in Soroban contract development." homepage = "https://github.com/blend-capital/blend-contracts" repository = "https://github.com/blend-capital/blend-contracts" diff --git a/blend-contract-sdk/README.md b/blend-contract-sdk/README.md index 94389111..280abcb7 100644 --- a/blend-contract-sdk/README.md +++ b/blend-contract-sdk/README.md @@ -66,21 +66,12 @@ pool_client.mock_all_auths().update_status(); // update status based on backstop ## WASM Verification -The WASM files included will align with the GitHub release the SDK was published with (the version numbers will match). The WASM files were generated with the Makefile. +The WASM files included will align with the GitHub release the SDK was published with (the version numbers will match). -Since WASM builds can vary based on factors like OS, here are the details of the machine that built the WASMs included in this package: - -* Ubuntu 22.04.4 LTS -* stable-x86_64-unknown-linux-gnu (default) -* rustc 1.77.1 (7cf61ebde 2024-03-27) -* soroban 20.3.1 (ae5446f63ca8a275e61912019199254d598f3bd5) -* soroban-env 20.2.1 (18a10592853d9edf4e341b565b0b1638f95f0393) -* soroban-env interface version 85899345920 -* stellar-xdr 20.1.0 (8b9d623ef40423a8462442b86997155f2c04d3a1) -* xdr curr (b96148cd4acc372cc9af17b909ffe4b12c43ecb6) +The WASMs are generated with the [Stellar Expert WASM Release Action](https://github.com/stellar-expert/soroban-build-workflow) The SHA256 Checksums: -* backstop - `8dfbc6ba300cde6ebe747cf985cf9221bf3594981595b9c26bbd108ff19a5598` -* emitter - `b1555702a4cca7c44e02beb5aa82b0271c0367471c68f2ec9246c31b202e38ee` -* pool_factory - `8bc7894d8a4e46b085d0579e233e3c436bb34e18f9a2a83d4bde8526cde18cb6` -* pool - `76ebcea354d5959c5b0d38818ddf1524c5af16970231b532f5caa63121930861` \ No newline at end of file +* backstop - `62f61b32fff99f7eec052a8e573c367759f161c481a5caf0e76a10ae4617c3b4` +* emitter - `438a5528cff17ede6fe515f095c43c5f15727af17d006971485e52462e7e7b89` +* pool_factory - `0287f4ad7350935b83d94e046c0bcabc960b233dbce1531008c021b71d406a1d` +* pool - `46b4c2d5fcac623d9668b19d0ce68f9da5a18029f3dffa8afded436ab16e8883` \ No newline at end of file diff --git a/blend-contract-sdk/src/testutils.rs b/blend-contract-sdk/src/testutils.rs index 01b62d73..756d8b94 100644 --- a/blend-contract-sdk/src/testutils.rs +++ b/blend-contract-sdk/src/testutils.rs @@ -1,4 +1,4 @@ -use soroban_sdk::{token::StellarAssetClient, vec, Address, Env, Map}; +use soroban_sdk::{token::StellarAssetClient, vec, Address, Env, Vec}; use crate::{backstop, emitter, pool, pool_factory}; @@ -93,7 +93,7 @@ impl<'a> BlendFixture<'a> { &usdc, &blnd, &pool_factory, - &Map::new(env), + &Vec::new(env), ); let pool_hash = env.deployer().upload_contract_wasm(pool::WASM); diff --git a/blend-contract-sdk/wasm/backstop.wasm b/blend-contract-sdk/wasm/backstop.wasm old mode 100644 new mode 100755 index 8b0bd59f..acf4b9e0 Binary files a/blend-contract-sdk/wasm/backstop.wasm and b/blend-contract-sdk/wasm/backstop.wasm differ diff --git a/blend-contract-sdk/wasm/comet.wasm b/blend-contract-sdk/wasm/comet.wasm old mode 100644 new mode 100755 index 82118f99..e9493fd7 Binary files a/blend-contract-sdk/wasm/comet.wasm and b/blend-contract-sdk/wasm/comet.wasm differ diff --git a/blend-contract-sdk/wasm/comet_factory.wasm b/blend-contract-sdk/wasm/comet_factory.wasm old mode 100644 new mode 100755 index 3a73646b..9db8020a Binary files a/blend-contract-sdk/wasm/comet_factory.wasm and b/blend-contract-sdk/wasm/comet_factory.wasm differ diff --git a/blend-contract-sdk/wasm/emitter.wasm b/blend-contract-sdk/wasm/emitter.wasm old mode 100644 new mode 100755 index 68bed722..c6f00d0e Binary files a/blend-contract-sdk/wasm/emitter.wasm and b/blend-contract-sdk/wasm/emitter.wasm differ diff --git a/blend-contract-sdk/wasm/pool.wasm b/blend-contract-sdk/wasm/pool.wasm old mode 100644 new mode 100755 index c10913a8..d0d28ea8 Binary files a/blend-contract-sdk/wasm/pool.wasm and b/blend-contract-sdk/wasm/pool.wasm differ diff --git a/blend-contract-sdk/wasm/pool_factory.wasm b/blend-contract-sdk/wasm/pool_factory.wasm old mode 100644 new mode 100755 index 553a632c..cc662d3d Binary files a/blend-contract-sdk/wasm/pool_factory.wasm and b/blend-contract-sdk/wasm/pool_factory.wasm differ