Skip to main content
3 votes
Accepted

Is it possible to emit generic events using assembly?

This works for me: function emitGenericEvent(bytes32[] calldata topics, bytes calldata logData) external onlyController { require(topics.length <= 4, "Too many topics"); assembly {...
0xSanson's user avatar
  • 3,539
2 votes

Solidity gaslimit for chaining call?

EIP-150 allows you to only send G - Math.floor(G/64) when making an call or delegatecall. This is implemented so that you will at least have Math.floor(G/64) remaining to complete the rest of your ...
shadow's user avatar
  • 127
2 votes
Accepted

How does EVM chains update the states of Predeploys?

The block information from L1 is not actually stored in this contract. It comes from the L1Block contract. As shown below, the L1BlockNumber contract calls the L1Block contract. The Predeploys....
Ryan Holanda's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible