Commit 39e1d598 authored by mergify[bot]'s avatar mergify[bot] Committed by GitHub

Merge pull request #3721 from ethereum-optimism/e2e/set-value

op-e2e: user action allow set value
parents e97a9ade 871cda5c
......@@ -165,6 +165,12 @@ func (s *BasicUser[B]) ActRandomTxValue(t Testing) {
s.txOpts.Value = big.NewInt(s.rng.Int63())
}
func (s *BasicUser[B]) ActSetTxValue(value *big.Int) Action {
return func(t Testing) {
s.txOpts.Value = value
}
}
func (s *BasicUser[B]) ActRandomTxData(t Testing) {
dataLen := s.rng.Intn(128_000)
out := make([]byte, dataLen)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment