-
Notifications
You must be signed in to change notification settings - Fork 18
fix: improve leaf index validation #227
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
Closed
Closed
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
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 hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -8,7 +8,7 @@ RUN <<EOF | |
| set -eu | ||
| apt-get update && apt-get install -y --no-install-recommends curl ca-certificates git | ||
| curl -L https://foundry.paradigm.xyz | bash | ||
| ~/.foundry/bin/foundryup --install stable | ||
| ~/.foundry/bin/foundryup --install v1.5.0 | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. When bumping Foundry, we should make sure to:
|
||
| install -Dm755 ~/.foundry/bin/* /usr/local/bin/ | ||
| EOF | ||
| # cargo binstall (to install just) | ||
|
|
@@ -34,6 +34,11 @@ RUN \ | |
| xxd jq sqlite3; \ | ||
| rm -rf /var/cache/apt; | ||
|
|
||
| # install pnpm | ||
| RUN wget -qO- https://get.pnpm.io/install.sh | ENV="$HOME/.bashrc" SHELL="$(which bash)" bash - | ||
| ENV PNPM_HOME="/root/.local/share/pnpm" | ||
| ENV PATH="$PNPM_HOME:$PATH" | ||
|
|
||
| # install foundry | ||
| COPY --from=tools /usr/local/bin/forge /usr/local/bin/ | ||
| COPY --from=tools /usr/local/bin/cast /usr/local/bin/ | ||
|
|
@@ -81,7 +86,9 @@ RUN \ | |
| --mount=type=cache,target=cartesi-rollups/contracts/cache,sharing=locked \ | ||
| --mount=type=cache,target=prt/contracts/out,sharing=locked \ | ||
| --mount=type=cache,target=prt/contracts/cache,sharing=locked \ | ||
| just -f test/programs/justfile build-programs | ||
| just -f test/programs/justfile build-programs && \ | ||
| just -f test/programs/justfile build-honeypot-snapshot && \ | ||
| just -f cartesi-rollups/contracts/justfile build-devnet | ||
|
|
||
| # copy everything else | ||
| COPY \ | ||
|
|
@@ -105,5 +112,4 @@ RUN \ | |
| just build-rust-workspace; \ | ||
| cp target/debug/cartesi-rollups-prt-node . | ||
|
|
||
| # because of `--mount`, we need to do this. | ||
| RUN mkdir -p target/debug && mv cartesi-rollups-prt-node target/debug/ | ||
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.
These changes seem to pertain more to your other PR #226.
My suggestion is, now that you have write permissions to the repo:
Address all suggested changes.
Rebase
fix/integer-overflowon top offix/dockerized-env-testsgit checkout fix/integer-overflow git rebase -i fix/dockerized-env-tests # Might require conflicts to be resolveddaverepo and make these PRs point to them.Make your PRs point to the new branches on the
daverepo (not to your fork branches)Make this PR point have
fix/dockerized-env-testsas its base branch