public void setStackItem(final int offset, final Bytes value) {
    stack.set(offset, value);
  }
Sets the stack item at the specified offset from the top of the stack to the value

@param offset The item's position relative to the top of the stack
@param value The value to set the stack item to
@throws IllegalStateException if the stack is too small
evm/src/main/java/org/hyperledger/besu/evm/frame/MessageFrame.java