-
Couldn't load subscription status.
- Fork 274
Open
Labels
Description
As of right now, there are number of errors in coreth, that need to be used
https://github.com/ava-labs/coreth/blob/master/plugin/evm/vmerrors/errors.go
For example, in buildBlockWithContext(), we use ErrGenerateBlockFailed in coreth but not in subnet-evm even though the case that triggers the error also happens in subnet-evm
or in wrapped_block.go's verify():
if err := b.semanticVerify(); err != nil {
return fmt.Errorf("failed to verify block: %w", err)
}
when we could use ErrBlockVerificationFailed.
These changes need to be synced in between the two.