You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A feature would be to simulate all the PSPs and not only the last one with the last nonce.
This would be a nice improvement in case a future PSPs is broken (mostly because incorrect data inside the PSP) but this is still a good sanity to checks to ensure that all the PSPs are valid.
The plan would be to:
Fork the network using NewSimulatedBackend.
Prefund the address that should be located into the d.senderAddress
Override the d.operationSafe with the nonces for each PSPs and simulate for each PSPs each time.
Additional context
Currently, we are simulating using eth_call as this is sufficient but this is not covering all the PSPs but only the last one.
This also require to trust correctly the node RPC because this send the calldata to the node.
The text was updated successfully, but these errors were encountered:
A feature would be to simulate all the PSPs and not only the last one with the last nonce.
This would be a nice improvement in case a future PSPs is broken (mostly because incorrect data inside the PSP) but this is still a good sanity to checks to ensure that all the PSPs are valid.
The plan would be to:
NewSimulatedBackend
.d.senderAddress
d.operationSafe
with the nonces for each PSPs and simulate for each PSPs each time.Additional context
Currently, we are simulating using
eth_call
as this is sufficient but this is not covering all the PSPs but only the last one.This also require to trust correctly the node RPC because this send the calldata to the node.
The text was updated successfully, but these errors were encountered: