mirror of
https://github.com/vacp2p/status-linea-besu.git
synced 2026-01-08 23:08:15 -05:00
Fix code delegation issue found in pectra devnet (#8203)
* add acceptance tests to verify that code delegations are persisted even if the tx itself fails * set node to use bonsai, set correct nonce for code delegation, make sure revert in contract has the 2 necessary items on the stack * Hive test fix: only add account if authority nonce is valid (0) --------- Signed-off-by: Karim Taam <karim.t2am@gmail.com> Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net> Signed-off-by: Simon Dudley <simon.dudley@consensys.net> Co-authored-by: Daniel Lehrner <daniel.lehrner@consensys.net> Co-authored-by: Simon Dudley <simon.dudley@consensys.net>
This commit is contained in:
@@ -59,7 +59,7 @@ public class CodeDelegationService {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns if the provided account has either no code set or has already delegated code.
|
||||
* Returns true if the provided account has either no code set or has already delegated code.
|
||||
*
|
||||
* @param account the account to check.
|
||||
* @return {@code true} if the account can set delegated code, {@code false} otherwise.
|
||||
|
||||
Reference in New Issue
Block a user