MCPcopy Create free account
hub / github.com/Jesserc/gevm / Stack

Struct Stack

gevm/stack.go:18–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16const MAX_STACK_SIZE = 1024
17
18type Stack struct {
19 data []uint256.Int
20}
21
22func (st *Stack) Push(value *uint256.Int) {
23 if len(st.data) == MAX_STACK_SIZE {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected