Skip to content

Conversation

@nicholaspai
Copy link
Member

adds forge deployment script and other setup along with newly deployed contract at 0x0Bf07B2e415F02711fFBB32491f8ec9e5489B2e7

nicholaspai and others added 24 commits June 13, 2023 20:27
Signed-off-by: nicholaspai <npai.nyc@gmail.com>
Signed-off-by: Matt Rice <matthewcrice32@gmail.com>
Signed-off-by: Matt Rice <matthewcrice32@gmail.com>
Signed-off-by: Matt Rice <matthewcrice32@gmail.com>
Signed-off-by: Matt Rice <matthewcrice32@gmail.com>
Signed-off-by: Matt Rice <matthewcrice32@gmail.com>
Signed-off-by: Matt Rice <matthewcrice32@gmail.com>
Signed-off-by: nicholaspai <npai.nyc@gmail.com>
This reverts commit af8716b.
…re robust fuzz testing of fallback()/receive()

Signed-off-by: nicholaspai <npai.nyc@gmail.com>
adds forge deployment script and other setup along with newly deployed contract at [0x0Bf07B2e415F02711fFBB32491f8ec9e5489B2e7](https://etherscan.io/address/0x0Bf07B2e415F02711fFBB32491f8ec9e5489B2e7#code)
@nicholaspai nicholaspai requested a review from mrice32 January 25, 2024 16:05
Base automatically changed from npai/permission-splitter-test to master January 27, 2024 17:27
@nicholaspai nicholaspai marked this pull request as ready for review January 27, 2024 17:31
Copy link
Contributor

@james-a-morris james-a-morris left a comment

Choose a reason for hiding this comment

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

Comment about consolidating some of the hardcoded addresses into a shared solidity file. This will be helpful if we want to deploy this to testnets in the future

Comment on lines +18 to +19
address constant defaultAdmin = 0xB524735356985D2f267FA010D681f061DfF03715;
address constant hubPool = 0xc186fA914353c44b2E33eBE05f21846F1048bEda;
Copy link
Contributor

Choose a reason for hiding this comment

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

Does foundry support shared constants in a similar way to how we handle the hardhat deployments now? I assume the constants would be a solidity file

Copy link
Member Author

Choose a reason for hiding this comment

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

are you proposing moving these to a separate file? I kind of think its overkill

Copy link
Contributor

Choose a reason for hiding this comment

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

Are we planning on migrating over to foundry? It may be a good idea to look at this in the future

Copy link
Member Author

Choose a reason for hiding this comment

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

we will use foundry in all new repos but changing this one over would be pretty difficult because of all the unit tests.

At this point, foundry support is available within the repo so we can use it for new scripts/tests, etc.

Copy link
Contributor

@mrice32 mrice32 left a comment

Choose a reason for hiding this comment

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

LGTM!

@@ -0,0 +1,97 @@
{
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 the real deployment? If so, why is it labeled "dry-run"?

Copy link
Member Author

Choose a reason for hiding this comment

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

I believe this is the simulation step that happens for forge scripts

Copy link
Contributor

Choose a reason for hiding this comment

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

I see. Makes sense.

Co-authored-by: Matt Rice <matthewcrice32@gmail.com>
Copy link
Contributor

@james-a-morris james-a-morris left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@mrice32 mrice32 left a comment

Choose a reason for hiding this comment

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

LGTM!

@@ -0,0 +1,97 @@
{
Copy link
Contributor

Choose a reason for hiding this comment

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

I see. Makes sense.

@nicholaspai nicholaspai merged commit af91714 into master Feb 8, 2024
@nicholaspai nicholaspai deleted the npai/deploy-permission-splitter branch February 8, 2024 12: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.

4 participants