Skip to content
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 repository to protocol 21.x and move towards working state #3

Closed
wants to merge 37 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
49ef26d
add setup instructions (#128)
esteblock Aug 7, 2023
0d20c1b
Build/better gen (#132)
kalepail Aug 11, 2023
a971419
build: fix nvmrc (can't use range)
chadoh Sep 19, 2023
254a8df
Merge pull request #135 from AhaLabs/fix/nvmrc
ElliotFriend Sep 19, 2023
ceb40b8
build: update for preview 11
chadoh Sep 19, 2023
aa5cb01
build: fix CI config
chadoh Sep 20, 2023
c77fdf3
build: use updated quickstart image and --local flag
chadoh Sep 24, 2023
7ac27a3
fix: use newest quickstart
willemneal Sep 27, 2023
81a535e
Merge pull request #136 from AhaLabs/build/preview-11
Julian-dev28 Oct 6, 2023
8e64e25
Update ubuntu to 22.04 from 20.04
satyamz Nov 22, 2023
d67d9a2
Build and test the MSRV and latest
leighmcculloch Jan 10, 2024
2908222
fix
leighmcculloch Jan 10, 2024
e887a6b
add description to todo item
leighmcculloch Jan 10, 2024
f2832c9
Add rust-toolchain.toml
leighmcculloch Jan 10, 2024
663e3c2
Merge pull request #140 from stellar/rs-soroban-env#1311
leighmcculloch Jan 11, 2024
6d93bec
Merge branch 'main' into rs-soroban-env#1311-2
leighmcculloch Jan 11, 2024
d08c3db
Merge pull request #141 from stellar/rs-soroban-env#1311-2
leighmcculloch Jan 11, 2024
053b718
Merge branch 'main' into ubuntu-upgrade
jacekn Jan 24, 2024
07504b9
Merge pull request #137 from satyamz/ubuntu-upgrade
jacekn Jan 24, 2024
98793d0
Remove install_soroban command and refs
pselle Jun 14, 2024
b456263
Update abundance contract
pselle Jun 14, 2024
f426d05
add test snapshots
pselle Jun 25, 2024
0dc4b8b
Update crowdfund tests
pselle Jun 25, 2024
7853447
Increment crowdfund contract
pselle Jun 25, 2024
ecb489b
Progress
pselle Jun 27, 2024
9a1e46f
Setup working
pselle Jun 27, 2024
cb3c40f
FE can run, useEffect commented out
pselle Jun 27, 2024
9fb1db2
Reveal/uncomment code that has no signatures
pselle Jun 27, 2024
d360d9a
remove console log
pselle Jun 27, 2024
a7d6f33
Contract to Client
pselle Jul 2, 2024
18f387f
Formatting & breaking params into object
pselle Jul 2, 2024
d0b323e
Package-lock.json updates
pselle Jul 2, 2024
d75080f
package.json scripts s/soroban/stellar
chadoh Jul 2, 2024
795f83e
readme: s/config identity/keys/
chadoh Jul 2, 2024
be51cec
build: update from soroban-client to stellar-sdk
chadoh Jul 2, 2024
8c3602f
fix: use new AssembledTransaction interface throughout
chadoh Jul 2, 2024
4b9dfa6
nextjs: use suggested 'priority' property on Image
chadoh Jul 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# paths = ["/path/to/override"] # path dependency overrides

[alias] # command aliases
install_soroban = "install --git https://github.com/stellar/soroban-tools --rev cb3c44f9d8080917a7cb019d6be25019f6cf78c3 --root ./target soroban-cli --debug"
install_stellar = "install --locked stellar-cli --version 21.0.0 --force --root ./target stellar-cli --debug"
b = "build --target wasm32-unknown-unknown --release"
# c = "check"
# t = "test"
Expand Down
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock.json linguist-generated=true -diff
45 changes: 23 additions & 22 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,34 +6,35 @@ on:
pull_request:

jobs:

complete:
if: always()
needs: [build-and-test]
runs-on: ubuntu-latest
steps:
- if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
run: exit 1
- if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
run: exit 1

build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: stellar/actions/rust-cache@main
- run: rustup update
- run: rustup target add wasm32-unknown-unknown
- run: make build
- run: cargo install_soroban
- uses: actions/setup-node@v3
with:
node-version: 18.x
cache: 'npm'
- run: |
mkdir -p .soroban-example-dapp
echo 'futurenet' > .soroban-example-dapp/network
echo 'CC757WDV3G442WQCNPNOA2UEXOC7UJD5VP4BLLCRDW5LRM6UZZR6ISVU' > .soroban-example-dapp/abundance_token_id
echo 'CCHCPXECLYGX4QU34ZZOHP6C6KVAPIDTUNPIUA6GF4SP6ECFF5BX57OG' > .soroban-example-dapp/crowdfund_id
echo 'Standalone Network ; February 2017' > .soroban-example-dapp/passphrase
echo 'https://rpc-futurenet.stellar.org/' > .soroban-example-dapp/rpc-url
- run: npm ci
- run: npm run build
- uses: actions/checkout@v3
- uses: stellar/actions/rust-cache@main
- run: rustup update
- run: rustup target add wasm32-unknown-unknown
- run: make build
- run: cargo install --locked soroban-cli --version 21.0.0-rc.1
- uses: actions/setup-node@v3
with:
node-version: 18.14.2
cache: 'npm'
- run: |
mkdir -p .soroban-example-dapp
echo 'futurenet' > .soroban-example-dapp/network
echo 'CAU23MVDEW7VMB3AXC5PL5GZO3HBYZPEIP2P46X4T3AIC4Y7FXYZWES5' > .soroban-example-dapp/abundance_token_id
echo 'CDJPYH5HNGZ24SEWXFJOW6RXXHHNKU4XPCPBMB2VRTDPTMVPLYFQKZIE' > .soroban-example-dapp/crowdfund_id
echo 'Test SDF Future Network ; October 2022' > .soroban-example-dapp/passphrase
echo 'https://rpc-futurenet.stellar.org/' > .soroban-example-dapp/rpc-url
echo '{"network":"futurenet","rpcUrl":"https://rpc-futurenet.stellar.org","networkPassphrase":"Test SDF Future Network ; October 2022"}' > shared/config.json

- run: npm ci
- run: npm run build
18 changes: 15 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ on:
branches: [main]
pull_request:

env:
RUSTFLAGS: -Wclippy::all -Wclippy::pedantic

jobs:

# complete:
Expand All @@ -28,6 +25,7 @@ jobs:
build-and-test:
strategy:
matrix:
rust: [msrv, latest]
sys:
- os: ubuntu-latest
target: wasm32-unknown-unknown
Expand All @@ -39,7 +37,21 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: stellar/actions/rust-cache@main
- name: Use the minimum supported Rust version
if: matrix.rust == 'msrv'
run: |
msrv="$(cargo metadata --format-version 1 --no-deps | jq -r '.packages | map(.rust_version) | map(values) | min')"
rustup override set $msrv
rustup component add clippy --toolchain $msrv
- name: Error on warnings and clippy checks
# Only error on warnings and checks for the msrv, because new versions of
# Rust will frequently add new warnings and checks.
if: matrix.rust == 'msrv'
run: echo RUSTFLAGS='-Wclippy::all -Wclippy::pedantic' >> $GITHUB_ENV
# TODO: Deny warnings when the warnings have been cleaned up.
# run: echo RUSTFLAGS='-Dwarnings -Wclippy::all -Wclippy::pedantic' >> $GITHUB_ENV
- run: rustup update
- run: cargo version
- run: rustup target add ${{ matrix.sys.target }}
- run: cargo clippy --target ${{ matrix.sys.target }} --lib
- if: matrix.sys.target != 'wasm32-unknown-unknown'
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
/.soroban-example-dapp
/.soroban
/shared/config.json
# dependencies
/node_modules
/.pnp
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
18.14.2
Loading
Loading