1
protocol-testing/Cargo.lock
generated
1
protocol-testing/Cargo.lock
generated
@@ -8455,7 +8455,6 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "tycho-simulation"
|
name = "tycho-simulation"
|
||||||
version = "0.158.0"
|
version = "0.158.0"
|
||||||
source = "git+https://github.com/propeller-heads/tycho-simulation.git?tag=0.158.0#bf864f437c9eb3014449146b86628c2251adce61"
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"alloy",
|
"alloy",
|
||||||
"async-stream",
|
"async-stream",
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ tracing = "0.1.37"
|
|||||||
# Tycho dependencies
|
# Tycho dependencies
|
||||||
tycho-common = "0.83.4"
|
tycho-common = "0.83.4"
|
||||||
tycho-client = "0.83.4"
|
tycho-client = "0.83.4"
|
||||||
tycho-simulation = { git = "https://github.com/propeller-heads/tycho-simulation.git", tag = "0.158.0", features = ["evm"] }
|
tycho-simulation = { git = "https://github.com/propeller-heads/tycho-simulation.git", tag = "0.159.0", features = ["evm"] }
|
||||||
## TODO: for local development
|
## TODO: for local development
|
||||||
#tycho-simulation = { path = "../../tycho-simulation" }
|
#tycho-simulation = { path = "../../tycho-simulation" }
|
||||||
num-bigint = "0.4"
|
num-bigint = "0.4"
|
||||||
|
|||||||
@@ -213,6 +213,7 @@ impl TestRunner {
|
|||||||
skip_balance_check,
|
skip_balance_check,
|
||||||
config,
|
config,
|
||||||
&self.adapter_contract_builder,
|
&self.adapter_contract_builder,
|
||||||
|
self.vm_traces,
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
&test.expected_components,
|
&test.expected_components,
|
||||||
@@ -245,6 +246,7 @@ fn validate_state(
|
|||||||
skip_balance_check: bool,
|
skip_balance_check: bool,
|
||||||
config: &IntegrationTestsConfig,
|
config: &IntegrationTestsConfig,
|
||||||
adapter_contract_builder: &AdapterContractBuilder,
|
adapter_contract_builder: &AdapterContractBuilder,
|
||||||
|
vm_traces: bool,
|
||||||
) -> miette::Result<()> {
|
) -> miette::Result<()> {
|
||||||
let rt = Runtime::new().unwrap();
|
let rt = Runtime::new().unwrap();
|
||||||
|
|
||||||
@@ -362,7 +364,9 @@ fn validate_state(
|
|||||||
tycho_simulation::evm::engine_db::SHARED_TYCHO_DB.clear();
|
tycho_simulation::evm::engine_db::SHARED_TYCHO_DB.clear();
|
||||||
|
|
||||||
let mut decoder = TychoStreamDecoder::new();
|
let mut decoder = TychoStreamDecoder::new();
|
||||||
let decoder_context = DecoderContext::new().vm_adapter_path(adapter_contract_path_str);
|
let decoder_context = DecoderContext::new()
|
||||||
|
.vm_adapter_path(adapter_contract_path_str)
|
||||||
|
.vm_trace(vm_traces);
|
||||||
decoder.register_decoder_with_context::<EVMPoolState<PreCachedDB>>(
|
decoder.register_decoder_with_context::<EVMPoolState<PreCachedDB>>(
|
||||||
protocol_system,
|
protocol_system,
|
||||||
decoder_context,
|
decoder_context,
|
||||||
|
|||||||
Reference in New Issue
Block a user