26066 - [SC - Insight] Timelock eta variable can be set further than i...
Description
Bug Description
function queueTransaction(address target, uint value, string memory signature, bytes memory data, uint eta) public returns (bytes32) {
require(msg.sender == admin, "Timelock::queueTransaction: Call must come from admin.");
require(eta >= getBlockTimestamp().add(delay), "Timelock::queueTransaction: Estimated execution block must satisfy delay.");
bytes32 txHash = keccak256(abi.encode(target, value, signature, data, eta));
queuedTransactions[txHash] = true;
emit QueueTransaction(txHash, target, value, signature, data, eta);
return txHash;
}
Impact
Risk Breakdown
Recommendation
References
Proof of concept
PoC
Previous26039 - [SC - Insight] Proxy contract deployments can be front-run to ...Next26073 - [SC - Insight] The implementation upgrade must be done by call...
Last updated
Was this helpful?