(value *uint256.Int)
| 20 | } |
| 21 | |
| 22 | func (st *Stack) Push(value *uint256.Int) { |
| 23 | if len(st.data) == MAX_STACK_SIZE { |
| 24 | panic(ErrStackOverflow.Error()) |
| 25 | } |
| 26 | st.data = append(st.data, *value) |
| 27 | } |
| 28 | |
| 29 | func (st *Stack) Pop() uint256.Int { |
| 30 | if len(st.data) == 0 { |