Skip to content

Commit

Permalink
progress
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahschwartz committed May 17, 2024
1 parent 6f5cbdc commit 84b673a
Show file tree
Hide file tree
Showing 23 changed files with 526 additions and 550 deletions.
497 changes: 275 additions & 222 deletions contract/Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion contract/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ authors = ["sarahschwartz <[email protected]>"]
license = "Apache-2.0"

[dev-dependencies]
fuels = { version = "0.58.0", features = ["fuel-core-lib"] }
fuels = { version = "0.61.0", features = ["fuel-core-lib"] }
tokio = { version = "1.12", features = ["rt", "macros"] }

[[test]]
Expand Down
4 changes: 2 additions & 2 deletions contract/Forc.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ dependencies = ["std"]

[[package]]
name = "core"
source = "path+from-root-FD1D6328C399C137"
source = "path+from-root-2196FE80C8707C90"

[[package]]
name = "std"
source = "git+https://github.com/fuellabs/sway?rev#ec22cb6c456a232f98bc850f145962e4e543a64f"
source = "git+https://github.com/fuellabs/sway?tag=v0.58.0#9579dd2f77c8597995d6d7d2995640c26cfb3fe4"
dependencies = ["core"]
2 changes: 2 additions & 0 deletions contract/tests/harness.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ async fn can_play_game() {
assert!(garden_vec.value.inner[4].is_some());
assert!(garden_vec.value.inner[5].is_none());

println!("GARDEN VEC:{:?}", garden_vec);

// harvest the first planted seed
let mut harvest_resp = instance.clone()
.with_account(wallet_1.clone())
Expand Down
2 changes: 0 additions & 2 deletions frontend/fuels.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import { createConfig } from 'fuels';
export default createConfig({
contracts: ['../contract'],
output: './src/sway-api',
useBuiltinForc: false,
chainConfig: './chainConfig.json',
});

/**
Expand Down
Loading

0 comments on commit 84b673a

Please sign in to comment.