From 7616271514677e975370b2da4a35812e9a7e2e91 Mon Sep 17 00:00:00 2001 From: Dmytro Kozhevin Date: Fri, 1 Mar 2024 15:30:52 -0500 Subject: [PATCH] test fix --- Cargo.toml | 4 ++-- cmd/soroban-rpc/internal/preflight/preflight_test.go | 10 ++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index ea1490c0..df90971e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -46,12 +46,12 @@ git = "https://github.com/stellar/soroban-tools" rev = "a59f5f421a27bab71472041fc619dd8b0d1cf902" [workspace.dependencies.soroban-sdk] -version = "=20.3.1" +version = "=20.3.2" # git = "https://github.com/stellar/rs-soroban-sdk" # rev = "4aef54ff9295c2fca4c5b9fbd2c92d0ff99f67de" [workspace.dependencies.soroban-token-sdk] -version = "=20.3.1" +version = "=20.3.2" # git = "https://github.com/stellar/rs-soroban-sdk" # rev = "4aef54ff9295c2fca4c5b9fbd2c92d0ff99f67de" diff --git a/cmd/soroban-rpc/internal/preflight/preflight_test.go b/cmd/soroban-rpc/internal/preflight/preflight_test.go index 926c2611..9a80ea7c 100644 --- a/cmd/soroban-rpc/internal/preflight/preflight_test.go +++ b/cmd/soroban-rpc/internal/preflight/preflight_test.go @@ -190,6 +190,16 @@ var mockLedgerEntriesWithoutTTLs = []xdr.LedgerEntry{ }, }, }, + { + LastModifiedLedgerSeq: 2, + Data: xdr.LedgerEntryData{ + Type: xdr.LedgerEntryTypeConfigSetting, + ConfigSetting: &xdr.ConfigSettingEntry{ + ConfigSettingId: xdr.ConfigSettingIdConfigSettingBucketlistSizeWindow, + BucketListSizeWindow: &[]xdr.Uint64{100, 200}, + }, + }, + }, } // Adds ttl entries to mockLedgerEntriesWithoutTTLs