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

feat(cli): declarative deployment #1702

Merged
merged 59 commits into from
Oct 11, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
310b30b
add sendTransaction helper
holic Oct 4, 2023
e815a7a
start new deploy command with deployment proxy
holic Oct 4, 2023
68fcad3
deterministic world factory
holic Oct 4, 2023
f7ff52d
deploy world
holic Oct 4, 2023
72c893b
register tables
holic Oct 4, 2023
52394a3
this is no longer the case with resource types
holic Oct 4, 2023
e79e718
register systems
holic Oct 4, 2023
dff6637
improve logs
holic Oct 4, 2023
9df0429
rename create2 dir
holic Oct 4, 2023
681e2af
get world deploy and resource IDs
holic Oct 4, 2023
f26472c
refactor world deploy handling
holic Oct 5, 2023
cf60adb
clarify resourceId (hex) from resource (object)
holic Oct 5, 2023
3aef65e
wip
holic Oct 5, 2023
bcb3cbd
resolve custom types
holic Oct 5, 2023
f374af9
upgrade systems
holic Oct 5, 2023
43949a6
register system functions
holic Oct 5, 2023
5a897fb
wip system functions
holic Oct 5, 2023
29e0506
small clean up
holic Oct 6, 2023
862eb42
register functions
holic Oct 6, 2023
ba64b40
grant/revoke access
holic Oct 6, 2023
d017e9f
install modules
holic Oct 6, 2023
2e3d242
install modules
holic Oct 6, 2023
2e952b4
make sure to pass toBlock into getters
holic Oct 6, 2023
e2d0052
Merge remote-tracking branch 'origin/main' into holic/declarative-dep…
holic Oct 9, 2023
bfe7ec6
revert example change
holic Oct 9, 2023
4abb58f
migrate deploy command
holic Oct 9, 2023
bc5b45e
replace deploy, test, dev-contracts with new deploy internals
holic Oct 10, 2023
f271c13
more clean up
holic Oct 10, 2023
2d4b602
Merge remote-tracking branch 'origin/main' into holic/declarative-dep…
holic Oct 10, 2023
bdcce1d
revert as const for now, remove invalid test
holic Oct 10, 2023
edf84df
only run postdeploy for fresh worlds
holic Oct 10, 2023
839e665
opts -> options
holic Oct 10, 2023
3fce375
remove comment
holic Oct 10, 2023
9c6f04f
bump debounce time, add comment
holic Oct 10, 2023
d0fe353
Merge remote-tracking branch 'origin/main' into holic/declarative-dep…
holic Oct 10, 2023
71a106d
use hello events from store/world
holic Oct 10, 2023
8d1acd5
clarify comment
holic Oct 10, 2023
ad4efd8
add store/world version check
holic Oct 10, 2023
ac664d1
assert namespace owner
holic Oct 10, 2023
130d661
update comment
holic Oct 10, 2023
c11956b
rename to/from block
holic Oct 10, 2023
96f9769
update comments
holic Oct 10, 2023
f0ce45d
consistency
holic Oct 10, 2023
bed3180
clarify vars
holic Oct 10, 2023
6d385fb
Update packages/cli/src/deploy/resolveConfig.ts
holic Oct 10, 2023
7028e31
Update packages/cli/src/runDeploy.ts
holic Oct 10, 2023
534eb96
Update packages/cli/src/runDeploy.ts
holic Oct 10, 2023
9c35a5a
Update packages/cli/src/deploy/deploy.ts
holic Oct 10, 2023
745b883
fix/remove TODOs
holic Oct 10, 2023
9419c02
fix test data script, update test data
holic Oct 11, 2023
6d28203
fix e2e
holic Oct 11, 2023
5857688
fix user types internal type
holic Oct 11, 2023
37fd725
update snapshots
holic Oct 11, 2023
bc2c714
no longer a constraint
holic Oct 11, 2023
5c3b409
Create wicked-pens-promise.md
holic Oct 11, 2023
4c7e7ff
Create poor-bags-stare.md
holic Oct 11, 2023
1791c65
Update poor-bags-stare.md
holic Oct 11, 2023
360009d
simplify function sig usage, remove unused utils
holic Oct 11, 2023
339ffd1
Update poor-bags-stare.md
holic Oct 11, 2023
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
Prev Previous commit
Next Next commit
fix e2e
  • Loading branch information
holic committed Oct 11, 2023
commit 6d28203c21367bb954ab6e2ebe128c1b8405a760
2 changes: 1 addition & 1 deletion e2e/packages/contracts/worlds.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"31337": {
"address": "0x0355B7B8cb128fA5692729Ab3AAa199C1753f726"
"address": "0x97e55ad21ee5456964460c5465eac35861d2e797"
}
}
2 changes: 1 addition & 1 deletion e2e/packages/sync-test/setup/deployContracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import chalk from "chalk";
import { execa } from "execa";

export function deployContracts(rpc: string) {
const deploymentProcess = execa("pnpm", ["mud", "deploy", "--rpc", rpc, "--disableTxWait"], {
const deploymentProcess = execa("pnpm", ["mud", "deploy", "--rpc", rpc], {
cwd: "../contracts",
stdio: "pipe",
});
Expand Down