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
Because tevm extends viem api most methods such as getLogs or traceTransaction do not support modifying the bytecode. Consider allowing user to specifically call setShadowContract({ code, address}) and removeShadoeComtract methods so you can do this and then use Tevm as normal.
The tricky part here will be cache invalidation for the ReceiptManager. This task would depend on always keeping track of which contracts have been called or inner called by a tx
This also is tricky if getLogs is called on old blocks as normally today we fetch those logs from rpc. We likely need to throw an error by default in this case with the user able to explicitly force it to fetch past blocks with an option
This functionality will be much more useful if we add a replayTransaction method too
The text was updated successfully, but these errors were encountered:
Because tevm extends viem api most methods such as getLogs or traceTransaction do not support modifying the bytecode. Consider allowing user to specifically call setShadowContract({ code, address}) and removeShadoeComtract methods so you can do this and then use Tevm as normal.
The tricky part here will be cache invalidation for the ReceiptManager. This task would depend on always keeping track of which contracts have been called or inner called by a tx
This also is tricky if getLogs is called on old blocks as normally today we fetch those logs from rpc. We likely need to throw an error by default in this case with the user able to explicitly force it to fetch past blocks with an option
This functionality will be much more useful if we add a replayTransaction method too
The text was updated successfully, but these errors were encountered: