-
Notifications
You must be signed in to change notification settings - Fork 892
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
Update for latest libraries #163
base: main
Are you sure you want to change the base?
Conversation
need `moduleResolution: "nodenext"` in tsconfig to allow importing from `/contract` entrypoint (this is why types weren't being calculated correctly)
the type checking in `next build` mistakenly thinks that we set `target` to something older than `es2020`, so we need the `BigInt(10)` instead of `10n` ¯\_(ツ)_/¯
@Shaptic will you be able to review soon? |
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.
One suggestion, but lgtm.
@@ -1,7 +1,7 @@ | |||
# paths = ["/path/to/override"] # path dependency overrides | |||
|
|||
[alias] # command aliases | |||
install_soroban = "install --git https://github.com/AhaLabs/soroban-tools --rev c7fb7e08ba8efa9828d9df863d991558f269e35b --root ./target soroban-cli --debug" | |||
install_stellar = "install --locked stellar-cli --version 21.0.0 --force --root ./target stellar-cli --debug" |
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.
We can probably pin to a major version with ^21
instead of pinning to a specific version.
I also don't think we need to set the root, or tell cargo to install with the dev profile with the debug flag.
install_stellar = "install --locked stellar-cli --version 21.0.0 --force --root ./target stellar-cli --debug" | |
install_stellar = "install --locked stellar-cli@^21 --force" |
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.
Ah ok I see the root is used to write the binary to a local directory then use it locally. Seems like an odd practice to encourage given it isn't encouraged in any other setup documentation though.
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.
Amazin' work 👏
Fixes #150
It works again!