Skip to content

Commit

Permalink
Bump env for secp256 change
Browse files Browse the repository at this point in the history
  • Loading branch information
sisuresh committed Apr 8, 2024
1 parent e0cff4a commit 8f40dc8
Show file tree
Hide file tree
Showing 5 changed files with 102 additions and 69 deletions.
8 changes: 8 additions & 0 deletions src/ledger/NetworkConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,11 @@ initialCpuCostParamsEntryForV20()
case ComputeKeccak256Hash:
params[val] = ContractCostParamEntry{ExtensionPoint{0}, 3766, 5969};
break;
#ifdef ENABLE_NEXT_PROTOCOL_VERSION_UNSAFE_FOR_PRODUCTION
case DecodeEcdsaCurve256Sig:
#else
case ComputeEcdsaSecp256k1Sig:
#endif
params[val] = ContractCostParamEntry{ExtensionPoint{0}, 710, 0};
break;
case RecoverEcdsaSecp256k1Key:
Expand Down Expand Up @@ -537,7 +541,11 @@ initialMemCostParamsEntryForV20()
case ComputeKeccak256Hash:
params[val] = ContractCostParamEntry{ExtensionPoint{0}, 0, 0};
break;
#ifdef ENABLE_NEXT_PROTOCOL_VERSION_UNSAFE_FOR_PRODUCTION
case DecodeEcdsaCurve256Sig:
#else
case ComputeEcdsaSecp256k1Sig:
#endif
params[val] = ContractCostParamEntry{ExtensionPoint{0}, 0, 0};
break;
case RecoverEcdsaSecp256k1Key:
Expand Down
2 changes: 1 addition & 1 deletion src/protocol-next/xdr
12 changes: 6 additions & 6 deletions src/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ itertools = "=0.11.0"

[dependencies.soroban-env-host-curr]
version = "=20.3.0"
git = "https://github.com/sisuresh/rs-soroban-env"
git = "https://github.com/stellar/rs-soroban-env"
package = "soroban-env-host"
rev = "83d50f21f9c4031636126352e7ce77df3b2c189f"
rev = "48f9dff0b15f8a078aa2320b06932b7d09a6ccd3"

# This copy of the soroban host is _optional_ and only enabled during protocol
# transitions. When transitioning from protocol N to N+1, the `curr` copy
Expand Down Expand Up @@ -64,13 +64,13 @@ rev = "1bfc0f2a2ee134efc1e1b0d5270281d0cba61c2e"

[dependencies.soroban-test-wasms]
version = "=20.3.0"
git = "https://github.com/sisuresh/rs-soroban-env"
rev = "83d50f21f9c4031636126352e7ce77df3b2c189f"
git = "https://github.com/stellar/rs-soroban-env"
rev = "48f9dff0b15f8a078aa2320b06932b7d09a6ccd3"

[dependencies.soroban-synth-wasm]
version = "=20.3.0"
git = "https://github.com/sisuresh/rs-soroban-env"
rev = "83d50f21f9c4031636126352e7ce77df3b2c189f"
git = "https://github.com/stellar/rs-soroban-env"
rev = "48f9dff0b15f8a078aa2320b06932b7d09a6ccd3"

[dependencies.cargo-lock]
version = "=9.0.0"
Expand Down
Loading

0 comments on commit 8f40dc8

Please sign in to comment.