-
Notifications
You must be signed in to change notification settings - Fork 27
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
Various improvements #109
Open
nicolasbrugneaux
wants to merge
27
commits into
main
Choose a base branch
from
fix/various
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Various improvements #109
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
52b6a15
fix: copy address instead of shortenaddress or group
nicolasbrugneaux 8e3996c
feat: show accurate unlocking period
nicolasbrugneaux f7cb634
fix: shows the correct proposal status
nicolasbrugneaux a258e82
fix: use the executedIds earlier in the flow to prioritize metadata<-…
nicolasbrugneaux d09f55a
refactor: use NEXT_PUBLIC_RPC_URL
nicolasbrugneaux b8f6816
chore: add anvil to tests
nicolasbrugneaux 3dab9dd
Merge branch 'main' into fix/various
nicolasbrugneaux 06f8e0d
fix: add foundry-toolchain
nicolasbrugneaux db0e282
fix: anvil on ci
nicolasbrugneaux e2372f6
fix: prettier
nicolasbrugneaux b3b1b98
fix: unused json
nicolasbrugneaux 8f7d9b8
fix: quorum calculation
nicolasbrugneaux 3cc68d8
fix: quorum calculation
nicolasbrugneaux 3d0e29e
wip: tests
nicolasbrugneaux 9b5deb9
fix: tests
nicolasbrugneaux 45c3cc9
fake stash
nicolasbrugneaux 209d515
wip: renderhooks
nicolasbrugneaux 5d3c2ea
test: should pass!
nicolasbrugneaux 2459980
Merge branch 'main' into fix/various
nicolasbrugneaux f237b89
fix: linting
nicolasbrugneaux 55294c1
fix: ci
nicolasbrugneaux 65f7f45
fix: prettier
nicolasbrugneaux c48b11c
fx: foundry version
nicolasbrugneaux 2dfdab0
fix: anvil setup
nicolasbrugneaux 6df3373
fix: more resilient snapshot
nicolasbrugneaux 61b9025
fix: PR feedback
nicolasbrugneaux c0152ee
Merge branch 'main' into fix/various
nicolasbrugneaux File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: anvil on ci
- Loading branch information
commit db0e282e8eaa0c17b9aed9e2a8210215fcaa2f97
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,16 @@ | ||
import { expect, test } from 'vitest'; | ||
import { FORK_BLOCK_NUMBER, TEST_BALANCE } from './constants'; | ||
import { testClient, walletClient } from './utils'; | ||
import { publicClient, walletClient } from './utils'; | ||
|
||
test('anvil is setup', async () => { | ||
await expect(walletClient.getAddresses()).resolves.toMatchInlineSnapshot(` | ||
[ | ||
"0x5409ED021D9299bf6814279A6A1411A7e866A631", | ||
] | ||
`); | ||
|
||
await expect( | ||
testClient.getBalance({ address: (await walletClient.getAddresses())[0] }), | ||
).resolves.toBe(BigInt(TEST_BALANCE) * 10n ** 18n); | ||
await expect(testClient.getBlobBaseFee()).resolves.toBe(0n); | ||
await expect(testClient.getBlockNumber()).resolves.toBe(FORK_BLOCK_NUMBER); | ||
}); | ||
publicClient.getBalance({ address: (await walletClient.getAddresses())[0] }), | ||
).resolves.toBe(TEST_BALANCE); | ||
await expect(publicClient.getBlobBaseFee()).resolves.toBe(0n); | ||
await expect(publicClient.getBlockNumber()).resolves.toBe(FORK_BLOCK_NUMBER); | ||
}, 60_000); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we still need to fork at all?