Skip to content

Commit 484ce17

Browse files
Fix BlockContext comment (#731)
1 parent e23b01c commit 484ce17

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

precompile/contract/interfaces.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,8 @@ type AccessibleState interface {
6363
CallFromPrecompile(caller common.Address, addr common.Address, input []byte, gas uint64, value *big.Int) (ret []byte, leftOverGas uint64, err error)
6464
}
6565

66-
// BlockContext defines an interface that provides information to a stateful precompile
67-
// about the block that activates the upgrade. The precompile can access this information
68-
// to initialize its state.
66+
// BlockContext defines an interface that provides information to a stateful precompile about the
67+
// current block. The BlockContext may be provided during both precompile activation and execution.
6968
type BlockContext interface {
7069
Number() *big.Int
7170
Timestamp() *big.Int

0 commit comments

Comments
 (0)