diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index a4bb64f31..2cf3da5b9 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -96,14 +96,14 @@ jobs: # --- Use pre-built debian package when core_git_ref is NOT provided --- - name: Pull and set Stellar Core image - if: env.CORE_GIT_REF == '' + if: env.CORE_GIT_REF == '' && env.CORE_DOCKER_IMG != '' shell: bash run: | docker pull "$CORE_DOCKER_IMG" echo STELLAR_RPC_INTEGRATION_TESTS_DOCKER_IMG="$CORE_DOCKER_IMG" >> $GITHUB_ENV - name: Install Captive Core from debian package - if: env.CORE_GIT_REF == '' + if: env.CORE_GIT_REF == '' && env.CORE_DEBIAN_PKG_VERSION != '' shell: bash run: | # Workaround for https://github.com/actions/virtual-environments/issues/5245, diff --git a/.github/workflows/stellar-rpc.yml b/.github/workflows/stellar-rpc.yml index 2c41f313c..f6bced965 100644 --- a/.github/workflows/stellar-rpc.yml +++ b/.github/workflows/stellar-rpc.yml @@ -84,14 +84,6 @@ jobs: CGO_ENABLED: 1 GOARCH: ${{ matrix.go_arch }} - integration-p27-pkg: - name: Integration tests (P27) - uses: ./.github/workflows/integration-tests.yml - with: - protocol_version: '27' - core_deb_version: '28.0.0-3494.a9b861321.jammy' - core_docker_img: 'stellar/stellar-core:28.0.0-3494.a9b861321.jammy' - integration-p28-pkg: name: Integration tests (P28) uses: ./.github/workflows/integration-tests.yml @@ -104,6 +96,18 @@ jobs: core_deb_version: '28.0.0-3494.a9b861321.jammy' core_docker_img: 'stellar/stellar-core:28.0.0-3494.a9b861321.jammy' + integration-p30-pkg: + name: Integration tests (P30) + uses: ./.github/workflows/integration-tests.yml + with: + protocol_version: '30' + # No -vnext core image exists yet for CAP-0088 (stellar-core#5423, + # SirTyson:ms-close-time @ 9ef9b5cd, unmerged). Blocked on a Jenkins + # -vnext build after that PR merges; core_deb_version/core_docker_img + # are intentionally left empty until then. + core_deb_version: '' + core_docker_img: '' + # integration-p25-src: # name: Integration tests (p25, core from source) # uses: ./.github/workflows/integration-tests.yml diff --git a/.golangci.yml b/.golangci.yml index d5155295d..97fe1d5f5 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -39,6 +39,11 @@ linters: funlen: lines: 100 statements: 50 + gomoddirectives: + # SPIKE: CAP-0088 Go XDR pin (go-stellar-sdk#5998 unmerged). Remove this and + # the replace directive together once the upstream SDK PR is released. + replace-allow-list: + - github.com/stellar/go-stellar-sdk misspell: locale: US testifylint: diff --git a/cmd/stellar-rpc/internal/integrationtest/infrastructure/docker/upgrades/testnet.p30.json b/cmd/stellar-rpc/internal/integrationtest/infrastructure/docker/upgrades/testnet.p30.json new file mode 100644 index 000000000..dd6f288f2 --- /dev/null +++ b/cmd/stellar-rpc/internal/integrationtest/infrastructure/docker/upgrades/testnet.p30.json @@ -0,0 +1,965 @@ +{ + "updated_entry": [ + { + "contract_max_size_bytes": 131072 + }, + { + "contract_compute_v0": { + "ledger_max_instructions": "500000000", + "tx_max_instructions": "100000000", + "fee_rate_per_instructions_increment": "25", + "tx_memory_limit": 41943040 + } + }, + { + "contract_ledger_cost_v0": { + "ledger_max_disk_read_entries": 500, + "ledger_max_disk_read_bytes": 3500000, + "ledger_max_write_ledger_entries": 250, + "ledger_max_write_bytes": 143360, + "tx_max_disk_read_entries": 100, + "tx_max_disk_read_bytes": 200000, + "tx_max_write_ledger_entries": 50, + "tx_max_write_bytes": 132096, + "fee_disk_read_ledger_entry": "6250", + "fee_write_ledger_entry": "10000", + "fee_disk_read1_kb": "1786", + "soroban_state_target_size_bytes": "3000000000", + "rent_fee1_kb_soroban_state_size_low": "-17000", + "rent_fee1_kb_soroban_state_size_high": "10000", + "soroban_state_rent_fee_growth_factor": 5000 + } + }, + { + "contract_historical_data_v0": { + "fee_historical1_kb": "16235" + } + }, + { + "contract_events_v0": { + "tx_max_contract_events_size_bytes": 16384, + "fee_contract_events1_kb": "10000" + } + }, + { + "contract_bandwidth_v0": { + "ledger_max_txs_size_bytes": 133120, + "tx_max_size_bytes": 132096, + "fee_tx_size1_kb": "1624" + } + }, + { + "contract_cost_params_cpu_instructions": [ + { + "ext": "v0", + "const_term": "4", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "434", + "linear_term": "16" + }, + { + "ext": "v0", + "const_term": "42", + "linear_term": "16" + }, + { + "ext": "v0", + "const_term": "44", + "linear_term": "16" + }, + { + "ext": "v0", + "const_term": "295", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "60", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "221", + "linear_term": "26" + }, + { + "ext": "v0", + "const_term": "331", + "linear_term": "4369" + }, + { + "ext": "v0", + "const_term": "3636", + "linear_term": "7013" + }, + { + "ext": "v0", + "const_term": "40256", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "377551", + "linear_term": "4059" + }, + { + "ext": "v0", + "const_term": "417482", + "linear_term": "45712" + }, + { + "ext": "v0", + "const_term": "41142", + "linear_term": "634" + }, + { + "ext": "v0", + "const_term": "1945", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "6481", + "linear_term": "5943" + }, + { + "ext": "v0", + "const_term": "711", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "2314804", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "4176", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "4716", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "4680", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "4256", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "884", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "1059", + "linear_term": "502" + }, + { + "ext": "v0", + "const_term": "73077", + "linear_term": "25410" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "540752" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "176363" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "29989" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "1061449" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "237336" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "328476" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "701845" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "429383" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "28" + }, + { + "ext": "v0", + "const_term": "43030", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "7556" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "10711" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "3300" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "23038" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "42488" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "828974" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "297100" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "14" + }, + { + "ext": "v0", + "const_term": "1882", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "3000906", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "661", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "985", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "1934", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "730510", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "5921", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "1057822", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "92642", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "100742", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "7689", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "2458985", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "2347584", + "linear_term": "94135478" + }, + { + "ext": "v0", + "const_term": "1020885", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "2638451", + "linear_term": "6803" + }, + { + "ext": "v0", + "const_term": "25207", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "7873219", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "7663880", + "linear_term": "298580871" + }, + { + "ext": "v0", + "const_term": "1856539", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "6315452", + "linear_term": "7232" + }, + { + "ext": "v0", + "const_term": "10558948", + "linear_term": "632860943" + }, + { + "ext": "v0", + "const_term": "1994", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "1155", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "74", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "332", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "691", + "linear_term": "74558" + }, + { + "ext": "v0", + "const_term": "35421", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "344", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "476", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "904", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "2811", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "1706052", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "61", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "3623", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "1150435", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "5263916", + "linear_term": "392472814" + }, + { + "ext": "v0", + "const_term": "2052", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "1133", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "74", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "332", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "755", + "linear_term": "68930" + }, + { + "ext": "v0", + "const_term": "33151", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "1185193", + "linear_term": "41568084" + } + ] + }, + { + "contract_cost_params_memory_bytes": [ + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "16", + "linear_term": "128" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "242", + "linear_term": "384" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "384" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "132773", + "linear_term": "4903" + }, + { + "ext": "v0", + "const_term": "69472", + "linear_term": "1217" + }, + { + "ext": "v0", + "const_term": "14", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "181", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "99", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "99", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "99", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "99", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "99", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "17564", + "linear_term": "6457" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "47464" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "13420" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "6285" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "64670" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "29074" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "48095" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "103229" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "36394" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "257" + }, + { + "ext": "v0", + "const_term": "70704", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "14613" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "6833" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "1025" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "129632" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "13665" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "97637" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "9176" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "126" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "109494", + "linear_term": "266603" + }, + { + "ext": "v0", + "const_term": "2776", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "5896", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "219654", + "linear_term": "266603" + }, + { + "ext": "v0", + "const_term": "1672", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "3960", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "2204", + "linear_term": "9340474" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "248", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "128" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "1821", + "linear_term": "6232546" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "312", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "73061", + "linear_term": "229779" + } + ] + }, + { + "contract_data_key_size_bytes": 250 + }, + { + "contract_data_entry_size_bytes": 65536 + }, + { + "state_archival": { + "max_entry_ttl": 3110400, + "min_temporary_ttl": 720, + "min_persistent_ttl": 10, + "persistent_rent_rate_denominator": "1215", + "temp_rent_rate_denominator": "2430", + "max_entries_to_archive": 1000, + "live_soroban_state_size_window_sample_size": 30, + "live_soroban_state_size_window_sample_period": 64, + "eviction_scan_size": 500000, + "starting_eviction_scan_level": 7 + } + }, + { + "contract_execution_lanes": { + "ledger_max_tx_count": 100 + } + }, + { + "contract_parallel_compute_v0": { + "ledger_max_dependent_tx_clusters": 1 + } + }, + { + "contract_ledger_cost_ext_v0": { + "tx_max_footprint_entries": 100, + "fee_write1_kb": "3500" + } + }, + { + "scp_timing": { + "ledger_target_close_time_milliseconds": 5000, + "nomination_timeout_initial_milliseconds": 1000, + "nomination_timeout_increment_milliseconds": 1000, + "ballot_timeout_initial_milliseconds": 1000, + "ballot_timeout_increment_milliseconds": 1000 + } + } + ] +} diff --git a/cmd/stellar-rpc/internal/integrationtest/infrastructure/docker/upgrades/testnet.p30.xdr b/cmd/stellar-rpc/internal/integrationtest/infrastructure/docker/upgrades/testnet.p30.xdr new file mode 100644 index 000000000..a43b91ee0 --- /dev/null +++ b/cmd/stellar-rpc/internal/integrationtest/infrastructure/docker/upgrades/testnet.p30.xdr @@ -0,0 +1 @@ +AAAADwAAAAAAAgAAAAAAAQAAAAAdzWUAAAAAAAX14QAAAAAAAAAAGQKAAAAAAAACAAAB9AA1Z+AAAAD6AAIwAAAAAGQAAw1AAAAAMgACBAAAAAAAAAAYagAAAAAAACcQAAAAAAAABvoAAAAAstBeAP///////72YAAAAAAAAJxAAABOIAAAAAwAAAAAAAD9rAAAABAAAQAAAAAAAAAAnEAAAAAUAAggAAAIEAAAAAAAAAAZYAAAABgAAAFYAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAABsgAAAAAAAAAQAAAAAAAAAAAAAAAqAAAAAAAAABAAAAAAAAAAAAAAACwAAAAAAAAAEAAAAAAAAAAAAAABJwAAAAAAAAAAAAAAAAAAAAAAAAA8AAAAAAAAAAAAAAAAAAAAAAAAAN0AAAAAAAAAGgAAAAAAAAAAAAABSwAAAAAAABERAAAAAAAAAAAAAA40AAAAAAAAG2UAAAAAAAAAAAAAnUAAAAAAAAAAAAAAAAAAAAAAAAXCzwAAAAAAAA/bAAAAAAAAAAAABl7KAAAAAAAAspAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEdZQAAAAAAA4GTAAAACAAAAPoAAAAJAAEAAAAAAAoAL3YAAAAC0AAAAAoAAAAAAAAEvwAAAAAAAAl+AAAD6AAAAB4AAABAAAehIAAAAAcAAAALAAAAZAAAAA4AAAABAAAADwAAAGQAAAAAAAANrAAAABAAABOIAAAD6AAAA+gAAAPoAAAD6A== diff --git a/cmd/stellar-rpc/internal/integrationtest/infrastructure/docker/upgrades/unlimited.p30.json b/cmd/stellar-rpc/internal/integrationtest/infrastructure/docker/upgrades/unlimited.p30.json new file mode 100644 index 000000000..0237b62c3 --- /dev/null +++ b/cmd/stellar-rpc/internal/integrationtest/infrastructure/docker/upgrades/unlimited.p30.json @@ -0,0 +1,965 @@ +{ + "updated_entry": [ + { + "contract_max_size_bytes": 4294967295 + }, + { + "contract_compute_v0": { + "ledger_max_instructions": "2305843009213693951", + "tx_max_instructions": "2305843009213693951", + "fee_rate_per_instructions_increment": "100", + "tx_memory_limit": 4294967295 + } + }, + { + "contract_ledger_cost_v0": { + "ledger_max_disk_read_entries": 4294967295, + "ledger_max_disk_read_bytes": 4294967295, + "ledger_max_write_ledger_entries": 4294967295, + "ledger_max_write_bytes": 4294967295, + "tx_max_disk_read_entries": 4294967295, + "tx_max_disk_read_bytes": 4294967295, + "tx_max_write_ledger_entries": 4294967295, + "tx_max_write_bytes": 4294967295, + "fee_disk_read_ledger_entry": "1000", + "fee_write_ledger_entry": "3000", + "fee_disk_read1_kb": "1000", + "soroban_state_target_size_bytes": "4294967295", + "rent_fee1_kb_soroban_state_size_low": "-17000", + "rent_fee1_kb_soroban_state_size_high": "10000", + "soroban_state_rent_fee_growth_factor": 5000 + } + }, + { + "contract_historical_data_v0": { + "fee_historical1_kb": "5000" + } + }, + { + "contract_events_v0": { + "fee_contract_events1_kb": "300", + "tx_max_contract_events_size_bytes": 4294967295 + } + }, + { + "contract_bandwidth_v0": { + "fee_tx_size1_kb": "500", + "ledger_max_txs_size_bytes": 4294967295, + "tx_max_size_bytes": 4294965295 + } + }, + { + "contract_cost_params_cpu_instructions": [ + { + "ext": "v0", + "const_term": "4", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "434", + "linear_term": "16" + }, + { + "ext": "v0", + "const_term": "42", + "linear_term": "16" + }, + { + "ext": "v0", + "const_term": "44", + "linear_term": "16" + }, + { + "ext": "v0", + "const_term": "295", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "60", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "221", + "linear_term": "26" + }, + { + "ext": "v0", + "const_term": "331", + "linear_term": "4369" + }, + { + "ext": "v0", + "const_term": "3636", + "linear_term": "7013" + }, + { + "ext": "v0", + "const_term": "40256", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "377551", + "linear_term": "4059" + }, + { + "ext": "v0", + "const_term": "417482", + "linear_term": "45712" + }, + { + "ext": "v0", + "const_term": "41142", + "linear_term": "634" + }, + { + "ext": "v0", + "const_term": "1945", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "6481", + "linear_term": "5943" + }, + { + "ext": "v0", + "const_term": "711", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "2314804", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "4176", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "4716", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "4680", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "4256", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "884", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "1059", + "linear_term": "502" + }, + { + "ext": "v0", + "const_term": "73077", + "linear_term": "25410" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "540752" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "176363" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "29989" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "1061449" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "237336" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "328476" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "701845" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "429383" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "28" + }, + { + "ext": "v0", + "const_term": "43030", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "7556" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "10711" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "3300" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "23038" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "42488" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "828974" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "297100" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "14" + }, + { + "ext": "v0", + "const_term": "1882", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "3000906", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "661", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "985", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "1934", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "730510", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "5921", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "1057822", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "92642", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "100742", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "7689", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "2458985", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "2347584", + "linear_term": "94135478" + }, + { + "ext": "v0", + "const_term": "1020885", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "2638451", + "linear_term": "6803" + }, + { + "ext": "v0", + "const_term": "25207", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "7873219", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "7663880", + "linear_term": "298580871" + }, + { + "ext": "v0", + "const_term": "1856539", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "6315452", + "linear_term": "7232" + }, + { + "ext": "v0", + "const_term": "10558948", + "linear_term": "632860943" + }, + { + "ext": "v0", + "const_term": "1994", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "1155", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "74", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "332", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "691", + "linear_term": "74558" + }, + { + "ext": "v0", + "const_term": "35421", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "344", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "476", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "904", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "2811", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "1706052", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "61", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "3623", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "1150435", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "5263916", + "linear_term": "392472814" + }, + { + "ext": "v0", + "const_term": "2052", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "1133", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "74", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "332", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "755", + "linear_term": "68930" + }, + { + "ext": "v0", + "const_term": "33151", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "1185193", + "linear_term": "41568084" + } + ] + }, + { + "contract_cost_params_memory_bytes": [ + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "16", + "linear_term": "128" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "242", + "linear_term": "384" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "384" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "132773", + "linear_term": "4903" + }, + { + "ext": "v0", + "const_term": "69472", + "linear_term": "1217" + }, + { + "ext": "v0", + "const_term": "14", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "181", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "99", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "99", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "99", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "99", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "99", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "17564", + "linear_term": "6457" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "47464" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "13420" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "6285" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "64670" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "29074" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "48095" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "103229" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "36394" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "257" + }, + { + "ext": "v0", + "const_term": "70704", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "14613" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "6833" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "1025" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "129632" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "13665" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "97637" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "9176" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "126" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "109494", + "linear_term": "266603" + }, + { + "ext": "v0", + "const_term": "2776", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "5896", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "219654", + "linear_term": "266603" + }, + { + "ext": "v0", + "const_term": "1672", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "3960", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "2204", + "linear_term": "9340474" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "248", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "128" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "1821", + "linear_term": "6232546" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "312", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "0", + "linear_term": "0" + }, + { + "ext": "v0", + "const_term": "73061", + "linear_term": "229779" + } + ] + }, + { + "contract_data_key_size_bytes": 4294967295 + }, + { + "contract_data_entry_size_bytes": 4294967295 + }, + { + "state_archival": { + "max_entry_ttl": 3110400, + "min_temporary_ttl": 16, + "min_persistent_ttl": 10, + "persistent_rent_rate_denominator": "535680", + "temp_rent_rate_denominator": "5356800", + "max_entries_to_archive": 100, + "live_soroban_state_size_window_sample_size": 30, + "live_soroban_state_size_window_sample_period": 64, + "eviction_scan_size": 100000, + "starting_eviction_scan_level": 6 + } + }, + { + "contract_execution_lanes": { + "ledger_max_tx_count": 4294967295 + } + }, + { + "contract_parallel_compute_v0": { + "ledger_max_dependent_tx_clusters": 1 + } + }, + { + "contract_ledger_cost_ext_v0": { + "tx_max_footprint_entries": 4294967295, + "fee_write1_kb": "3500" + } + }, + { + "scp_timing": { + "ledger_target_close_time_milliseconds": 5000, + "nomination_timeout_initial_milliseconds": 1000, + "nomination_timeout_increment_milliseconds": 1000, + "ballot_timeout_initial_milliseconds": 1000, + "ballot_timeout_increment_milliseconds": 1000 + } + } + ] +} diff --git a/cmd/stellar-rpc/internal/integrationtest/infrastructure/docker/upgrades/unlimited.p30.xdr b/cmd/stellar-rpc/internal/integrationtest/infrastructure/docker/upgrades/unlimited.p30.xdr new file mode 100644 index 000000000..cbad07507 --- /dev/null +++ b/cmd/stellar-rpc/internal/integrationtest/infrastructure/docker/upgrades/unlimited.p30.xdr @@ -0,0 +1 @@ +AAAADwAAAAD/////AAAAAR//////////H/////////8AAAAAAAAAZP////8AAAAC//////////////////////////////////////////8AAAAAAAAD6AAAAAAAAAu4AAAAAAAAA+gAAAAA/////////////72YAAAAAAAAJxAAABOIAAAAAwAAAAAAABOIAAAABP////8AAAAAAAABLAAAAAX////////4LwAAAAAAAAH0AAAABgAAAFYAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAABsgAAAAAAAAAQAAAAAAAAAAAAAAAqAAAAAAAAABAAAAAAAAAAAAAAACwAAAAAAAAAEAAAAAAAAAAAAAABJwAAAAAAAAAAAAAAAAAAAAAAAAA8AAAAAAAAAAAAAAAAAAAAAAAAAN0AAAAAAAAAGgAAAAAAAAAAAAABSwAAAAAAABERAAAAAAAAAAAAAA40AAAAAAAAG2UAAAAAAAAAAAAAnUAAAAAAAAAAAAAAAAAAAAAAAAXCzwAAAAAAAA/bAAAAAAAAAAAABl7KAAAAAAAAspAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEdZQAAAAAAA4GTAAAACP////8AAAAJ/////wAAAAoAL3YAAAAAEAAAAAoAAAAAAAgsgAAAAAAAUb0AAAAAZAAAAB4AAABAAAGGoAAAAAYAAAAL/////wAAAA4AAAABAAAAD/////8AAAAAAAANrAAAABAAABOIAAAD6AAAA+gAAAPoAAAD6A== diff --git a/go.mod b/go.mod index 20f9cc442..e266d8ec1 100644 --- a/go.mod +++ b/go.mod @@ -151,3 +151,8 @@ require ( gopkg.in/tylerb/graceful.v1 v1.2.15 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) + +// SPIKE: pin go-stellar-sdk to the CAP-0088 fork branch (sisuresh/go +// p30-cap-0088) until stellar/go-stellar-sdk#5998 merges, then re-pin to the +// merged upstream commit and drop this replace + the .golangci.yml allow-list. +replace github.com/stellar/go-stellar-sdk => github.com/sisuresh/go v0.0.0-20260831185642-e66bca6a6fff diff --git a/go.sum b/go.sum index a7e44fabf..9629ab177 100644 --- a/go.sum +++ b/go.sum @@ -419,6 +419,8 @@ github.com/sergi/go-diff v1.3.1 h1:xkr+Oxo4BOQKmkn/B9eMK0g5Kg/983T9DqqPHwYqD+8= github.com/sergi/go-diff v1.3.1/go.mod h1:aMJSSKb2lpPvRNec0+w3fl7LP9IOFzdc9Pa4NFbPK1I= github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ= github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= +github.com/sisuresh/go v0.0.0-20260831185642-e66bca6a6fff h1:l0Vj8dJ8ApGGat4SxqxQYV1b0ZaNXX92hl/h6wxEXIA= +github.com/sisuresh/go v0.0.0-20260831185642-e66bca6a6fff/go.mod h1:YTYl7/zFt7oIX5Y4WRgL+3d2upWQDLywlHunZ4fOxvc= github.com/sourcegraph/conc v0.3.0 h1:OQTbbt6P72L20UqAkXXuLOj79LfEanQ+YQFNpLA9ySo= github.com/sourcegraph/conc v0.3.0/go.mod h1:Sdozi7LEKbFPqYX2/J+iBAM6HpqSLTASQIKqDmF7Mt0= github.com/spf13/afero v1.10.0 h1:EaGW2JJh15aKOejeuJ+wpFSHnbd7GE6Wvp3TsNhb6LY= @@ -433,8 +435,6 @@ github.com/spf13/viper v1.17.0 h1:I5txKw7MJasPL/BrfkbA0Jyo/oELqVmux4pR/UxOMfI= github.com/spf13/viper v1.17.0/go.mod h1:BmMMMLQXSbcHK6KAOiFLz0l5JHrU89OdIRHvsk0+yVI= github.com/spiffe/go-spiffe/v2 v2.6.0 h1:l+DolpxNWYgruGQVV0xsfeya3CsC7m8iBzDnMpsbLuo= github.com/spiffe/go-spiffe/v2 v2.6.0/go.mod h1:gm2SeUoMZEtpnzPNs2Csc0D/gX33k1xIx7lEzqblHEs= -github.com/stellar/go-stellar-sdk v0.7.2 h1:LTO860ulPKRmsKgxGTAf8APL2nFtVvRKClhw2unGhyY= -github.com/stellar/go-stellar-sdk v0.7.2/go.mod h1:YTYl7/zFt7oIX5Y4WRgL+3d2upWQDLywlHunZ4fOxvc= github.com/stellar/go-xdr v0.0.0-20260806060815-dc590f17552a h1:40YIhQusSioBKDW5Tr+YdjoXphcVeu7eXUS2ibMQBTs= github.com/stellar/go-xdr v0.0.0-20260806060815-dc590f17552a/go.mod h1:If+U9Z1W5xU97VrOgJandQT+2dN7/iOpkCrxBJEyF80= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=