Open PatrickAlphaC opened 2 months ago
i am not really sure if this is an issue, it just means that boa tried to send an EIP-1559 style transaction but could not get priority fee data, so it falls back to legacy type 1 txn. maybe best to open an issue in titanoboa-zksync and link back to it here
The warn is coming from these lines.
The issue is that there is no flag in boa to omit the warning and the whole function is 65 lines that might need to be copied.
Maybe a flag, either suppress_warning or use_legacy_type_1_txn
Maybe the flag should live on the NetworkEnv object so it can be suppressed globally for a given session
When I try to send a transaction with a
ZKSyncDeployer
usingtitanoboa-zksync
, I get this warning:It looks like, and I could be wrong, this is coming from this line:
https://github.com/vyperlang/titanoboa/blob/69e866a45b7a4bac9a6010943993bbd30c1354b9/boa/network.py#L246
Which is not implemented at the moment?
https://github.com/vyperlang/titanoboa/blob/69e866a45b7a4bac9a6010943993bbd30c1354b9/boa/rpc.py#L79
In any case, the warning line of:
computation = self.contract.env.execute_code(
is interesting, because it's not really showing where the error is. I think for ZKSync we can just skip this line perhaps? Not exactly sure if this is a titanoboa or titanoboa-zksync issue.How to replicate
You'll then see the warning in the output: