@aztec/end-to-end 0.0.1-commit.ef17749e1 → 0.0.1-commit.f103f88

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/README.md +27 -0
  2. package/dest/bench/client_flows/client_flows_benchmark.d.ts +1 -1
  3. package/dest/bench/client_flows/client_flows_benchmark.d.ts.map +1 -1
  4. package/dest/bench/client_flows/client_flows_benchmark.js +13 -28
  5. package/dest/e2e_blacklist_token_contract/blacklist_token_contract_test.d.ts +3 -2
  6. package/dest/e2e_blacklist_token_contract/blacklist_token_contract_test.d.ts.map +1 -1
  7. package/dest/e2e_blacklist_token_contract/blacklist_token_contract_test.js +1 -1
  8. package/dest/e2e_epochs/epochs_test.d.ts +3 -1
  9. package/dest/e2e_epochs/epochs_test.d.ts.map +1 -1
  10. package/dest/e2e_epochs/epochs_test.js +8 -5
  11. package/dest/e2e_fees/fees_test.js +1 -1
  12. package/dest/e2e_p2p/inactivity_slash_test.js +3 -3
  13. package/dest/e2e_p2p/p2p_network.d.ts +5 -7
  14. package/dest/e2e_p2p/p2p_network.d.ts.map +1 -1
  15. package/dest/e2e_p2p/p2p_network.js +14 -13
  16. package/dest/e2e_p2p/reqresp/utils.d.ts +1 -1
  17. package/dest/e2e_p2p/reqresp/utils.d.ts.map +1 -1
  18. package/dest/e2e_p2p/reqresp/utils.js +16 -3
  19. package/dest/e2e_p2p/shared.d.ts +16 -12
  20. package/dest/e2e_p2p/shared.d.ts.map +1 -1
  21. package/dest/e2e_p2p/shared.js +33 -51
  22. package/dest/fixtures/authwit_proxy.d.ts +1 -1
  23. package/dest/fixtures/authwit_proxy.d.ts.map +1 -1
  24. package/dest/fixtures/authwit_proxy.js +4 -0
  25. package/dest/fixtures/e2e_prover_test.d.ts +4 -3
  26. package/dest/fixtures/e2e_prover_test.d.ts.map +1 -1
  27. package/dest/fixtures/e2e_prover_test.js +7 -12
  28. package/dest/fixtures/get_bb_config.d.ts +1 -1
  29. package/dest/fixtures/get_bb_config.d.ts.map +1 -1
  30. package/dest/fixtures/get_bb_config.js +5 -5
  31. package/dest/fixtures/setup.d.ts +16 -8
  32. package/dest/fixtures/setup.d.ts.map +1 -1
  33. package/dest/fixtures/setup.js +24 -18
  34. package/dest/fixtures/setup_p2p_test.d.ts +6 -6
  35. package/dest/fixtures/setup_p2p_test.d.ts.map +1 -1
  36. package/dest/fixtures/setup_p2p_test.js +8 -8
  37. package/dest/fixtures/token_utils.d.ts +1 -1
  38. package/dest/fixtures/token_utils.d.ts.map +1 -1
  39. package/dest/fixtures/token_utils.js +2 -5
  40. package/dest/legacy-jest-resolver.d.cts +3 -0
  41. package/dest/legacy-jest-resolver.d.cts.map +1 -0
  42. package/dest/shared/uniswap_l1_l2.d.ts +1 -1
  43. package/dest/shared/uniswap_l1_l2.d.ts.map +1 -1
  44. package/dest/shared/uniswap_l1_l2.js +9 -12
  45. package/dest/simulators/lending_simulator.d.ts +1 -1
  46. package/dest/simulators/lending_simulator.d.ts.map +1 -1
  47. package/dest/simulators/lending_simulator.js +2 -2
  48. package/dest/simulators/token_simulator.js +1 -1
  49. package/dest/spartan/setup_test_wallets.d.ts +4 -2
  50. package/dest/spartan/setup_test_wallets.d.ts.map +1 -1
  51. package/dest/spartan/setup_test_wallets.js +69 -39
  52. package/dest/spartan/utils/config.d.ts +4 -1
  53. package/dest/spartan/utils/config.d.ts.map +1 -1
  54. package/dest/spartan/utils/config.js +1 -0
  55. package/dest/spartan/utils/index.d.ts +2 -1
  56. package/dest/spartan/utils/index.d.ts.map +1 -1
  57. package/dest/spartan/utils/index.js +2 -0
  58. package/dest/spartan/utils/pod_logs.d.ts +25 -0
  59. package/dest/spartan/utils/pod_logs.d.ts.map +1 -0
  60. package/dest/spartan/utils/pod_logs.js +74 -0
  61. package/dest/test-wallet/test_wallet.d.ts +24 -23
  62. package/dest/test-wallet/test_wallet.d.ts.map +1 -1
  63. package/dest/test-wallet/test_wallet.js +115 -80
  64. package/dest/test-wallet/worker_wallet.d.ts +4 -4
  65. package/dest/test-wallet/worker_wallet.d.ts.map +1 -1
  66. package/dest/test-wallet/worker_wallet_schema.d.ts +9 -4
  67. package/dest/test-wallet/worker_wallet_schema.d.ts.map +1 -1
  68. package/package.json +40 -40
  69. package/src/bench/client_flows/client_flows_benchmark.ts +31 -22
  70. package/src/e2e_blacklist_token_contract/blacklist_token_contract_test.ts +3 -6
  71. package/src/e2e_epochs/epochs_test.ts +17 -5
  72. package/src/e2e_fees/fees_test.ts +1 -1
  73. package/src/e2e_p2p/inactivity_slash_test.ts +3 -3
  74. package/src/e2e_p2p/p2p_network.ts +22 -27
  75. package/src/e2e_p2p/reqresp/utils.ts +24 -3
  76. package/src/e2e_p2p/shared.ts +36 -67
  77. package/src/fixtures/authwit_proxy.ts +4 -0
  78. package/src/fixtures/e2e_prover_test.ts +12 -17
  79. package/src/fixtures/get_bb_config.ts +7 -6
  80. package/src/fixtures/setup.ts +38 -25
  81. package/src/fixtures/setup_p2p_test.ts +9 -9
  82. package/src/fixtures/token_utils.ts +1 -4
  83. package/src/legacy-jest-resolver.cjs +135 -0
  84. package/src/shared/uniswap_l1_l2.ts +29 -24
  85. package/src/simulators/lending_simulator.ts +4 -2
  86. package/src/simulators/token_simulator.ts +1 -1
  87. package/src/spartan/setup_test_wallets.ts +96 -34
  88. package/src/spartan/utils/config.ts +1 -0
  89. package/src/spartan/utils/index.ts +3 -0
  90. package/src/spartan/utils/pod_logs.ts +99 -0
  91. package/src/test-wallet/test_wallet.ts +144 -99
  92. package/src/test-wallet/worker_wallet.ts +3 -2
@@ -13,6 +13,7 @@ import type {
13
13
  ProfileOptions,
14
14
  SendOptions,
15
15
  SimulateOptions,
16
+ TxSimulationResultWithAppOffset,
16
17
  Wallet,
17
18
  WalletCapabilities,
18
19
  } from '@aztec/aztec.js/wallet';
@@ -29,7 +30,7 @@ import type { ContractArtifact, EventMetadataDefinition, FunctionCall } from '@a
29
30
  import type { AuthWitness } from '@aztec/stdlib/auth-witness';
30
31
  import type { AztecAddress } from '@aztec/stdlib/aztec-address';
31
32
  import type { ContractInstanceWithAddress } from '@aztec/stdlib/contract';
32
- import type { ExecutionPayload, TxProfileResult, TxSimulationResult, UtilityExecutionResult } from '@aztec/stdlib/tx';
33
+ import type { ExecutionPayload, TxProfileResult, UtilityExecutionResult } from '@aztec/stdlib/tx';
33
34
  import { Tx } from '@aztec/stdlib/tx';
34
35
 
35
36
  import { Worker } from 'worker_threads';
@@ -165,7 +166,7 @@ export class WorkerWallet implements Wallet {
165
166
  return this.call('registerContract', instance, artifact, secretKey);
166
167
  }
167
168
 
168
- simulateTx(exec: ExecutionPayload, opts: SimulateOptions): Promise<TxSimulationResult> {
169
+ simulateTx(exec: ExecutionPayload, opts: SimulateOptions): Promise<TxSimulationResultWithAppOffset> {
169
170
  return this.call('simulateTx', exec, opts);
170
171
  }
171
172