Commit f445bfd
feat(registry-cli): add download, create-alias, upgrade commands (#176)
* feat(registry-cli): add fetch and upgrade commands
This allows users to fetch the bytes of a publish Wasm and to upgrade deployed contracts.
* fix: default deploy's function to __constructor
* fix: clippy
* Update mod.rs
Co-authored-by: Chad Ostrowski <221614+chadoh@users.noreply.github.com>
* fix: deploy and fetch
* fix: don't use default cli features for registry-cli
* fix: initial test
* feat!: rename install -> create-alias, fetch -> download
* chore: fmt
* fix: tests
* chore: fmt
* fix: tests and improve upgrade errors
* fix: clippy after upgrading rustc
* feat: updating soroban_sdk
* fix: registry CD
* feat: add publish test and add gitignore; fix internal name in contract
* fix: clippy
* fix: fmt
* fix: clippy
* fix: update github links
* feat: try isolating tests
* chore: compile first
* chore: try building with package directly and add verbose
* fix: remove space
* fix: don't expect key location
* fix: fmt
* fix: set config home in tests to local dir
* chore: try to consolidate the config
* fix: integration tests
* fix: fmt
* fix: localhost
* fix: clippy
* fix: ensure caches are saved to speed up testing
* fix: ignore watch test for now
* feat: allow overwriting the STELLAR_RPC_URL
* Upgrade dependencies for building
* fix: move to a local `.config` to follow convention
* fix: ensure that all commands use same config dir
* fix: fmt
* fix: use same rpc
* fix: rpc error and actually parse config dir
* fix: remove extra line
* fix: build registry cli and run its test first
* fix: ensure stellar cli is in sync
* fix: use empty test env and generate Alice manually
* chore: use xl runner to speed up testing
* fix: fmt
* chore: try ubuntu large
* fix: revert to normal so we don't need to wait in queue
* fix: consolidate the wasms & ensure correct contract err when publishing
* fix: randomize wasms for registry tests
* fix: also randomize registry itself
* Fix clippy warning
* fix: use fund cmd directly
* fix: ensure that the config dir is correct
* chore(stellar-scaffold-cli): release v0.0.13
* fix: fmt
* fix: also ensure build command
* fix: clippy
---------
Co-authored-by: Chad Ostrowski <221614+chadoh@users.noreply.github.com>
Co-authored-by: Pam Selle <pamela.selle@gmail.com>
Co-authored-by: stellar-scaffold[bot] <211513279+stellar-scaffold[bot]@users.noreply.github.com>1 parent fde5b73 commit f445bfd
File tree
39 files changed
+1836
-589
lines changed- .config
- .github/workflows
- contracts/registry/src/registry
- crates
- stellar-registry-cli
- src
- commands
- deploy
- stellar-scaffold-cli
- src/commands
- build
- watch
- tests/it/build_clients
- stellar-scaffold-test
- fixtures/contracts
- hello_v1
- src
- hello_v2
- src
- src
39 files changed
+1836
-589
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
| |||
81 | 84 | | |
82 | 85 | | |
83 | 86 | | |
| 87 | + | |
84 | 88 | | |
85 | 89 | | |
86 | 90 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| |||
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| |||
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
0 commit comments