Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fee rewards manager to possim #5

Merged
merged 3 commits into from
Dec 21, 2023
Merged

Conversation

enriquefynn
Copy link
Member

Adds ability to deploy compiled contracts, this should be favoured instead of compiling contracts with solc, it's more reliable because we can use the exact same bytecode that is deployed in the Ethereum blockchain.

For the fee manager contract we need 2 contracts, first the library and then the main contract, we deploy the library contract and substitute a placeholder inside the compiled binary with the library's address.

Copy link
Contributor

@mksh mksh left a comment

Choose a reason for hiding this comment

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

LGTM

@jenpaff
Copy link

jenpaff commented Dec 12, 2023

@enriquefynn @mksh what's up with the test failing? seems unrelated to the changes?

Adds ability to deploy compiled contracts, this should be favoured
instead of compiling contracts with solc, it's more reliable because we
can use the exact same bytecode that is deployed in the Ethereum
blockchain.

For the fee manager contract we need 2 contracts, first the library and
then the main contract, we deploy the library contract and substitute a
placeholder inside the compiled binary with the library's address.
@enriquefynn enriquefynn force-pushed the include_fee_manager_contract branch from 6b7d26a to 0704d20 Compare December 19, 2023 16:14
Tiltfile Outdated Show resolved Hide resolved
@enriquefynn enriquefynn merged commit 6682aeb into main Dec 21, 2023
1 check passed
@enriquefynn enriquefynn deleted the include_fee_manager_contract branch December 21, 2023 00:40
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