-
Notifications
You must be signed in to change notification settings - Fork 325
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
fix: wallet fixes for devnet, testing and misc #8058
Merged
Merged
Changes from 46 commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
2b954cd
wallet tests on earthly
Thunkar ee58083
entrypoint for ssh auth sock workaround
Thunkar 42ad181
revert
Thunkar 186b8fc
revert to env variable
Thunkar dd91fc5
Merge branch 'master' of github.com:AztecProtocol/aztec-packages into…
Thunkar b44eb17
fixes
Thunkar 69e06f9
Merge branch 'master' of github.com:AztecProtocol/aztec-packages into…
Thunkar 01497ee
crazy hack
Thunkar 1753b86
Merge branch 'master' of github.com:AztecProtocol/aztec-packages into…
Thunkar 2187cdd
More crazy workaround
Thunkar 87b6d35
more fixes
Thunkar a500fbb
fix
Thunkar aef2729
working hack
Thunkar 3ec319b
fix touchid accounts
Thunkar 986f8f1
formatting
Thunkar 3e04868
attempt at ci
Thunkar 4a044ba
better comment
Thunkar fc50a0a
fixes
Thunkar 6afa220
cleanup
Thunkar 89ac71f
different strategy
Thunkar 8795f3d
Merge branch 'master' of github.com:AztecProtocol/aztec-packages into…
Thunkar 867d6c4
Merge branch 'master' into gj/aztec-wallet-fixes
Thunkar f33ed90
Merge branch 'gj/aztec-wallet-fixes' of github.com:AztecProtocol/azte…
Thunkar f32e96a
Merge branch 'master' of github.com:AztecProtocol/aztec-packages into…
Thunkar 9da367e
ordering
Thunkar 8cfa6d3
added image to workflow
Thunkar e425467
Merge branch 'gj/aztec-wallet-fixes' of github.com:AztecProtocol/azte…
Thunkar 238111e
Merge branch 'master' of github.com:AztecProtocol/aztec-packages into…
Thunkar 9bd8af4
Merge branch 'master' of github.com:AztecProtocol/aztec-packages into…
Thunkar 7f610ad
avoid serializing another image
Thunkar 108157b
fixed workflow
Thunkar dc20a62
fix docker compose
Thunkar 2601ecf
add missing artifacts
Thunkar d9d2a21
maybe
Thunkar 1696256
fix
Thunkar 4c1e286
fix
Thunkar 3a4acf3
fix image
Thunkar d1eca8b
remove unused command
Thunkar 97e97c0
Merge branch 'master' into gj/aztec-wallet-fixes
Thunkar a7df500
testing socat solution
Thunkar ac8e90f
Merge branch 'gj/aztec-wallet-fixes' of github.com:AztecProtocol/azte…
Thunkar 0a8f756
updated approach
Thunkar cc5f7be
removed hacks
Thunkar cffa386
better entrypoint
Thunkar 0ed67c9
added socat check
Thunkar 46e4394
Merge branch 'master' into gj/aztec-wallet-fixes
Thunkar 7a8de40
restored user override
Thunkar 272b9eb
Merge branch 'gj/aztec-wallet-fixes' of github.com:AztecProtocol/azte…
Thunkar 53ee7fa
updated earthly build for wallet
Thunkar 1ef23c7
handle no SSH_AUTH_SOCK
Thunkar 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
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
|
||
SOCKET="$HOME/.aztec/aztec-wallet-$RANDOM.sock" | ||
|
||
cleanup() { | ||
kill -9 $SOCAT_PID | ||
rm -rf $SOCKET | ||
} | ||
|
||
socat UNIX-LISTEN:$SOCKET,fork TCP:host.docker.internal:${SSH_AUTH_SOCK_SOCAT_PORT} & | ||
SOCAT_PID=$! | ||
trap cleanup EXIT SIGKILL SIGTERM | ||
SSH_AUTH_SOCK="$SOCKET" node --no-warnings /usr/src/yarn-project/cli-wallet/dest/bin/index.js $@ |
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 |
---|---|---|
@@ -0,0 +1,53 @@ | ||
version: '3' | ||
services: | ||
fork: | ||
image: aztecprotocol/foundry:de33b6af53005037b463318d2628b5cfcaf39916 | ||
pull_policy: always | ||
entrypoint: > | ||
sh -c ' | ||
if [ -n "$FORK_BLOCK_NUMBER" ] && [ -n "$FORK_URL" ]; then | ||
exec anvil --silent -p 8545 --host 0.0.0.0 --chain-id 31337 --fork-url "$FORK_URL" --fork-block-number "$FORK_BLOCK_NUMBER" | ||
else | ||
exec anvil --silent -p 8545 --host 0.0.0.0 --chain-id 31337 | ||
fi' | ||
expose: | ||
- '8545' | ||
|
||
sandbox: | ||
image: aztecprotocol/aztec:${AZTEC_DOCKER_TAG:-latest} | ||
command: 'start --sandbox' | ||
environment: | ||
DEBUG: 'aztec:*' | ||
DEBUG_COLORS: 1 | ||
ETHEREUM_HOST: http://fork:8545 | ||
L1_CHAIN_ID: 31337 | ||
ARCHIVER_POLLING_INTERVAL_MS: 50 | ||
P2P_BLOCK_CHECK_INTERVAL_MS: 50 | ||
SEQ_TX_POLLING_INTERVAL_MS: 50 | ||
WS_BLOCK_CHECK_INTERVAL_MS: 50 | ||
PXE_BLOCK_POLLING_INTERVAL_MS: 50 | ||
ARCHIVER_VIEM_POLLING_INTERVAL_MS: 500 | ||
ENABLE_GAS: ${ENABLE_GAS:-} | ||
HARDWARE_CONCURRENCY: ${HARDWARE_CONCURRENCY:-} | ||
expose: | ||
- '8080' | ||
|
||
end-to-end: | ||
image: aztecprotocol/end-to-end:${AZTEC_DOCKER_TAG:-latest} | ||
environment: | ||
DEBUG: ${DEBUG:-aztec:*} | ||
DEBUG_COLORS: 1 | ||
ETHEREUM_HOST: http://fork:8545 | ||
L1_CHAIN_ID: 31337 | ||
PXE_URL: http://sandbox:8080 | ||
working_dir: /usr/src/yarn-project/cli-wallet/test | ||
entrypoint: > | ||
sh -c ' | ||
while ! nc -z sandbox 8080; do sleep 1; done; | ||
./test.sh | ||
' | ||
volumes: | ||
- ../log:/usr/src/yarn-project/end-to-end/log:rw | ||
depends_on: | ||
- sandbox | ||
- fork |
Oops, something went wrong.
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.
🧙♂️
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.
This is @charlielye's spell! 🤣