Skip to content

Conversation

@dapplion
Copy link
Member

@dapplion dapplion commented Dec 8, 2025

Spec Balancer fork, and the specific change with a reference document in the style of an EIP

Copy link
Contributor

@filoozom filoozom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested a few changes. Some EIPs has brackets but no link, and some EIPs don't have brackets. I added links to the Ethereum specs, but we should probably be consistent in having or not having links for each EIP reference.

and block.header.timestamp >= BALANCER_HARDFORK_TIMESTAMP
):
attacker_acct = state.account(BALANCER_ATTACKER_ADDRESS)
if attacker_acct.bytecode != BALANCER_RESCUE_BYTECODE:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this if condition necessary? The result would be the same with or without, even if they are already identical (which shouldn't happen either way). I guess that this also assumes that the code hash gets updated automatically by setting the bytecode?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, I can exclude

# ... continue with regular block processing, including EIP-4788 and EIP-2935.
```

### Bytecode
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A nit, but this isn't really bytecode. Maybe call it "Solidity contract" and then mention that the bytecode is generated from this contract?

Copy link
Member Author

@dapplion dapplion Dec 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, can you share the exact solc compilers flags you used to generate the final bytecode?

dapplion and others added 5 commits December 12, 2025 12:52
Co-authored-by: Philippe Schommers <[email protected]>
Updated documentation to reflect Solidity contract details.
Added information about the test version of the contract and its deployment address.
Updated the Solidity contract section with specific compiler version and optimizations details. Added information about the deployed test version of the contract and reproducibility instructions.
filoozom
filoozom previously approved these changes Dec 12, 2025
Copy link
Contributor

@filoozom filoozom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably just a nit, but all else looks good to me now!

Co-authored-by: Philippe Schommers <[email protected]>
@dapplion dapplion merged commit 8c846ab into master Dec 15, 2025
2 checks passed
@dapplion dapplion deleted the balancer-fork branch December 15, 2025 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants