Merge pull request #48 from sei-protocol/tony/pass-depth-to-precompiles

Add GetDepth
This commit is contained in:
codchen 2025-04-17 14:04:59 +08:00 committed by GitHub
commit efb469c635
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -615,3 +615,7 @@ func (evm *EVM) GetVMContext() *tracing.VMContext {
StateDB: evm.StateDB, StateDB: evm.StateDB,
} }
} }
func (evm *EVM) GetDepth() int {
return evm.depth
}