Skip to content

Commit

Permalink
Update examples and E2E tests to use master branch of std, core (#876)
Browse files Browse the repository at this point in the history
* Update examples and E2E tests to use master branch of std, core

This speeds up the E2E tests quite a bit, as previously many of them
compiled two versions of `core` (e.g. `v0.0.1` as listed in
`[dependencies]`, and `master` via the `std` dependency).

Many tests have also had declared dependencies removed where unnecessary
and irrelevant to the test.

I did run into a couple issues:

- I was unable to update `b512_panic_test`, `b512_test` and
  `empty_method_initializer` as the `lo` and `hi` bits fields no longer
  appear to be accessible on the `b512` type. For now I've left these
  pinned to the old versions.
- The `context_testing_contract` test fails with: expected: `b256`, found:
  struct `ContractId<b256>`.

Closes #875.

* Fix `context_testing_contract` E2E test

* Fix type mismatch in caller_context_test assertions due to new ContractId type

* Update b512-related tests for removal of lo, hi fields in favour of bytes

* Fix missed `key` -> `KEY` change in `increment_contract` when rebasing
  • Loading branch information
mitchmindtree authored Mar 7, 2022
1 parent 35e5a2f commit 46a62d7
Show file tree
Hide file tree
Showing 150 changed files with 193 additions and 959 deletions.
11 changes: 3 additions & 8 deletions examples/fizzbuzz/Forc.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,14 @@ name = 'core'
source = 'git+http://github.com/FuelLabs/sway-lib-core?reference=master#c331ed20ebc9d646acec6b8ee8f408627ce3b573'
dependencies = []

[[package]]
name = 'core'
source = 'git+http://github.com/FuelLabs/sway-lib-core?reference=v0.0.1#45c54ab37abde32a10e20964264cf7362dd73caa'
dependencies = []

[[package]]
name = 'fizzbuzz'
dependencies = [
'core git+http://github.com/FuelLabs/sway-lib-core?reference=v0.0.1#45c54ab37abde32a10e20964264cf7362dd73caa',
'std git+http://github.com/FuelLabs/sway-lib-std?reference=v0.0.1#5a0938f8248d820ef178b6efd9c105463c543226',
'core git+http://github.com/FuelLabs/sway-lib-core?reference=master#c331ed20ebc9d646acec6b8ee8f408627ce3b573',
'std git+http://github.com/FuelLabs/sway-lib-std?reference=master#247270e7d8911e754a989b2fe280c462605ae2f6',
]

[[package]]
name = 'std'
source = 'git+http://github.com/FuelLabs/sway-lib-std?reference=v0.0.1#5a0938f8248d820ef178b6efd9c105463c543226'
source = 'git+http://github.com/FuelLabs/sway-lib-std?reference=master#247270e7d8911e754a989b2fe280c462605ae2f6'
dependencies = ['core git+http://github.com/FuelLabs/sway-lib-core?reference=master#c331ed20ebc9d646acec6b8ee8f408627ce3b573']
4 changes: 2 additions & 2 deletions examples/fizzbuzz/Forc.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ license = "Apache-2.0"
name = "fizzbuzz"

[dependencies]
std = { git = "http://github.com/FuelLabs/sway-lib-std", tag = "v0.0.1" }
core = { git = "http://github.com/FuelLabs/sway-lib-core", tag = "v0.0.1" }
std = { git = "http://github.com/FuelLabs/sway-lib-std", branch = "master" }
core = { git = "http://github.com/FuelLabs/sway-lib-core", branch = "master" }
11 changes: 3 additions & 8 deletions examples/hello_world/Forc.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,14 @@ name = 'core'
source = 'git+http://github.com/FuelLabs/sway-lib-core?reference=master#c331ed20ebc9d646acec6b8ee8f408627ce3b573'
dependencies = []

[[package]]
name = 'core'
source = 'git+http://github.com/FuelLabs/sway-lib-core?reference=v0.0.1#45c54ab37abde32a10e20964264cf7362dd73caa'
dependencies = []

[[package]]
name = 'hello_world'
dependencies = [
'core git+http://github.com/FuelLabs/sway-lib-core?reference=v0.0.1#45c54ab37abde32a10e20964264cf7362dd73caa',
'std git+http://github.com/FuelLabs/sway-lib-std?reference=v0.0.1#5a0938f8248d820ef178b6efd9c105463c543226',
'core git+http://github.com/FuelLabs/sway-lib-core?reference=master#c331ed20ebc9d646acec6b8ee8f408627ce3b573',
'std git+http://github.com/FuelLabs/sway-lib-std?reference=master#247270e7d8911e754a989b2fe280c462605ae2f6',
]

[[package]]
name = 'std'
source = 'git+http://github.com/FuelLabs/sway-lib-std?reference=v0.0.1#5a0938f8248d820ef178b6efd9c105463c543226'
source = 'git+http://github.com/FuelLabs/sway-lib-std?reference=master#247270e7d8911e754a989b2fe280c462605ae2f6'
dependencies = ['core git+http://github.com/FuelLabs/sway-lib-core?reference=master#c331ed20ebc9d646acec6b8ee8f408627ce3b573']
4 changes: 2 additions & 2 deletions examples/hello_world/Forc.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ license = "Apache-2.0"
name = "hello_world"

[dependencies]
std = { git = "http://github.com/FuelLabs/sway-lib-std", tag = "v0.0.1" }
core = { git = "http://github.com/FuelLabs/sway-lib-core", tag = "v0.0.1" }
std = { git = "http://github.com/FuelLabs/sway-lib-std", branch = "master" }
core = { git = "http://github.com/FuelLabs/sway-lib-core", branch = "master" }
11 changes: 3 additions & 8 deletions examples/subcurrency/Forc.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,14 @@ name = 'core'
source = 'git+http://github.com/FuelLabs/sway-lib-core?reference=master#c331ed20ebc9d646acec6b8ee8f408627ce3b573'
dependencies = []

[[package]]
name = 'core'
source = 'git+http://github.com/FuelLabs/sway-lib-core?reference=v0.0.1#45c54ab37abde32a10e20964264cf7362dd73caa'
dependencies = []

[[package]]
name = 'std'
source = 'git+http://github.com/FuelLabs/sway-lib-std?reference=v0.0.1#5a0938f8248d820ef178b6efd9c105463c543226'
source = 'git+http://github.com/FuelLabs/sway-lib-std?reference=master#247270e7d8911e754a989b2fe280c462605ae2f6'
dependencies = ['core git+http://github.com/FuelLabs/sway-lib-core?reference=master#c331ed20ebc9d646acec6b8ee8f408627ce3b573']

[[package]]
name = 'subcurrency'
dependencies = [
'core git+http://github.com/FuelLabs/sway-lib-core?reference=v0.0.1#45c54ab37abde32a10e20964264cf7362dd73caa',
'std git+http://github.com/FuelLabs/sway-lib-std?reference=v0.0.1#5a0938f8248d820ef178b6efd9c105463c543226',
'core git+http://github.com/FuelLabs/sway-lib-core?reference=master#c331ed20ebc9d646acec6b8ee8f408627ce3b573',
'std git+http://github.com/FuelLabs/sway-lib-std?reference=master#247270e7d8911e754a989b2fe280c462605ae2f6',
]
4 changes: 2 additions & 2 deletions examples/subcurrency/Forc.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ license = "Apache-2.0"
name = "subcurrency"

[dependencies]
std = { git = "http://github.com/FuelLabs/sway-lib-std", tag = "v0.0.1" }
core = { git = "http://github.com/FuelLabs/sway-lib-core", tag = "v0.0.1" }
std = { git = "http://github.com/FuelLabs/sway-lib-std", branch = "master" }
core = { git = "http://github.com/FuelLabs/sway-lib-core", branch = "master" }
11 changes: 3 additions & 8 deletions examples/wallet_smart_contract/Forc.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,14 @@ name = 'core'
source = 'git+http://github.com/FuelLabs/sway-lib-core?reference=master#c331ed20ebc9d646acec6b8ee8f408627ce3b573'
dependencies = []

[[package]]
name = 'core'
source = 'git+http://github.com/FuelLabs/sway-lib-core?reference=v0.0.1#45c54ab37abde32a10e20964264cf7362dd73caa'
dependencies = []

[[package]]
name = 'std'
source = 'git+http://github.com/FuelLabs/sway-lib-std?reference=v0.0.1#5a0938f8248d820ef178b6efd9c105463c543226'
source = 'git+http://github.com/FuelLabs/sway-lib-std?reference=master#247270e7d8911e754a989b2fe280c462605ae2f6'
dependencies = ['core git+http://github.com/FuelLabs/sway-lib-core?reference=master#c331ed20ebc9d646acec6b8ee8f408627ce3b573']

[[package]]
name = 'wallet_smart_contract'
dependencies = [
'core git+http://github.com/FuelLabs/sway-lib-core?reference=v0.0.1#45c54ab37abde32a10e20964264cf7362dd73caa',
'std git+http://github.com/FuelLabs/sway-lib-std?reference=v0.0.1#5a0938f8248d820ef178b6efd9c105463c543226',
'core git+http://github.com/FuelLabs/sway-lib-core?reference=master#c331ed20ebc9d646acec6b8ee8f408627ce3b573',
'std git+http://github.com/FuelLabs/sway-lib-std?reference=master#247270e7d8911e754a989b2fe280c462605ae2f6',
]
4 changes: 2 additions & 2 deletions examples/wallet_smart_contract/Forc.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ license = "Apache-2.0"
name = "wallet_smart_contract"

[dependencies]
std = { git = "http://github.com/FuelLabs/sway-lib-std", tag = "v0.0.1" }
core = { git = "http://github.com/FuelLabs/sway-lib-core", tag = "v0.0.1" }
std = { git = "http://github.com/FuelLabs/sway-lib-std", branch = "master" }
core = { git = "http://github.com/FuelLabs/sway-lib-core", branch = "master" }
12 changes: 2 additions & 10 deletions test/src/e2e_vm_tests/test_programs/address_test/Forc.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,13 @@
[[package]]
name = 'address_test'
dependencies = [
'core git+http://github.com/FuelLabs/sway-lib-core?reference=v0.1.0#5ff3559f067f50c9550bf3d1b7c74f5cede78b6f',
'std git+http://github.com/FuelLabs/sway-lib-std?reference=v0.0.2#888f0abce5621525af7b8bc6d41a1a570f30c920',
]
dependencies = ['std git+http://github.com/FuelLabs/sway-lib-std?reference=master#247270e7d8911e754a989b2fe280c462605ae2f6']

[[package]]
name = 'core'
source = 'git+http://github.com/FuelLabs/sway-lib-core?reference=master#c331ed20ebc9d646acec6b8ee8f408627ce3b573'
dependencies = []

[[package]]
name = 'core'
source = 'git+http://github.com/FuelLabs/sway-lib-core?reference=v0.1.0#5ff3559f067f50c9550bf3d1b7c74f5cede78b6f'
dependencies = []

[[package]]
name = 'std'
source = 'git+http://github.com/FuelLabs/sway-lib-std?reference=v0.0.2#888f0abce5621525af7b8bc6d41a1a570f30c920'
source = 'git+http://github.com/FuelLabs/sway-lib-std?reference=master#247270e7d8911e754a989b2fe280c462605ae2f6'
dependencies = ['core git+http://github.com/FuelLabs/sway-lib-core?reference=master#c331ed20ebc9d646acec6b8ee8f408627ce3b573']
3 changes: 1 addition & 2 deletions test/src/e2e_vm_tests/test_programs/address_test/Forc.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ license = "Apache-2.0"
name = "address_test"

[dependencies]
core = { git = "http://github.com/FuelLabs/sway-lib-core", tag = "v0.1.0" }
std = { git = "http://github.com/FuelLabs/sway-lib-std", tag = "v0.0.2" }
std = { git = "http://github.com/FuelLabs/sway-lib-std", branch = "master" }
12 changes: 2 additions & 10 deletions test/src/e2e_vm_tests/test_programs/aliased_imports/Forc.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,13 @@
[[package]]
name = 'aliased_imports'
dependencies = [
'core git+http://github.com/FuelLabs/sway-lib-core?reference=v0.0.1#45c54ab37abde32a10e20964264cf7362dd73caa',
'std git+http://github.com/FuelLabs/sway-lib-std?reference=v0.0.1#5a0938f8248d820ef178b6efd9c105463c543226',
]
dependencies = ['std git+http://github.com/FuelLabs/sway-lib-std?reference=master#247270e7d8911e754a989b2fe280c462605ae2f6']

[[package]]
name = 'core'
source = 'git+http://github.com/FuelLabs/sway-lib-core?reference=master#c331ed20ebc9d646acec6b8ee8f408627ce3b573'
dependencies = []

[[package]]
name = 'core'
source = 'git+http://github.com/FuelLabs/sway-lib-core?reference=v0.0.1#45c54ab37abde32a10e20964264cf7362dd73caa'
dependencies = []

[[package]]
name = 'std'
source = 'git+http://github.com/FuelLabs/sway-lib-std?reference=v0.0.1#5a0938f8248d820ef178b6efd9c105463c543226'
source = 'git+http://github.com/FuelLabs/sway-lib-std?reference=master#247270e7d8911e754a989b2fe280c462605ae2f6'
dependencies = ['core git+http://github.com/FuelLabs/sway-lib-core?reference=master#c331ed20ebc9d646acec6b8ee8f408627ce3b573']
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,5 @@ license = "Apache-2.0"
name = "aliased_imports"
entry = "main.sw"


[dependencies]
std = { git = "http://github.com/FuelLabs/sway-lib-std", tag = "v0.0.1" }
core = { git = "http://github.com/FuelLabs/sway-lib-core", tag = "v0.0.1" }


std = { git = "http://github.com/FuelLabs/sway-lib-std", branch = "master" }
15 changes: 1 addition & 14 deletions test/src/e2e_vm_tests/test_programs/array_basics/Forc.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,8 @@
[[package]]
name = 'array_basics'
dependencies = [
'core git+http://github.com/FuelLabs/sway-lib-core?reference=v0.0.1#45c54ab37abde32a10e20964264cf7362dd73caa',
'std git+http://github.com/FuelLabs/sway-lib-std?reference=v0.0.1#5a0938f8248d820ef178b6efd9c105463c543226',
]
dependencies = ['core git+http://github.com/FuelLabs/sway-lib-core?reference=master#c331ed20ebc9d646acec6b8ee8f408627ce3b573']

[[package]]
name = 'core'
source = 'git+http://github.com/FuelLabs/sway-lib-core?reference=master#c331ed20ebc9d646acec6b8ee8f408627ce3b573'
dependencies = []

[[package]]
name = 'core'
source = 'git+http://github.com/FuelLabs/sway-lib-core?reference=v0.0.1#45c54ab37abde32a10e20964264cf7362dd73caa'
dependencies = []

[[package]]
name = 'std'
source = 'git+http://github.com/FuelLabs/sway-lib-std?reference=v0.0.1#5a0938f8248d820ef178b6efd9c105463c543226'
dependencies = ['core git+http://github.com/FuelLabs/sway-lib-core?reference=master#c331ed20ebc9d646acec6b8ee8f408627ce3b573']
3 changes: 1 addition & 2 deletions test/src/e2e_vm_tests/test_programs/array_basics/Forc.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ name = "array_basics"
entry = "main.sw"

[dependencies]
std = { git = "http://github.com/FuelLabs/sway-lib-std", tag = "v0.0.1" }
core = { git = "http://github.com/FuelLabs/sway-lib-core", tag = "v0.0.1" }
core = { git = "http://github.com/FuelLabs/sway-lib-core", branch = "master" }
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[[package]]
name = 'array_dynamic_oob'
dependencies = []
7 changes: 2 additions & 5 deletions test/src/e2e_vm_tests/test_programs/asm_expr_basic/Forc.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
[[package]]
name = 'asm_expr_basic'
dependencies = [
'core git+http://github.com/FuelLabs/sway-lib-core?reference=master#c331ed20ebc9d646acec6b8ee8f408627ce3b573',
'std git+http://github.com/FuelLabs/sway-lib-std?reference=master#c3f1b914c7099d5115c72c01fd0ea640cc3ad6dc',
]
dependencies = ['std git+http://github.com/FuelLabs/sway-lib-std?reference=master#247270e7d8911e754a989b2fe280c462605ae2f6']

[[package]]
name = 'core'
Expand All @@ -12,5 +9,5 @@ dependencies = []

[[package]]
name = 'std'
source = 'git+http://github.com/FuelLabs/sway-lib-std?reference=master#c3f1b914c7099d5115c72c01fd0ea640cc3ad6dc'
source = 'git+http://github.com/FuelLabs/sway-lib-std?reference=master#247270e7d8911e754a989b2fe280c462605ae2f6'
dependencies = ['core git+http://github.com/FuelLabs/sway-lib-core?reference=master#c331ed20ebc9d646acec6b8ee8f408627ce3b573']
3 changes: 1 addition & 2 deletions test/src/e2e_vm_tests/test_programs/asm_expr_basic/Forc.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ name = "asm_expr_basic"
entry = "main.sw"

[dependencies]
core = { git = "http://github.com/FuelLabs/sway-lib-core" }
std = { git = "http://github.com/FuelLabs/sway-lib-std" }
std = { git = "http://github.com/FuelLabs/sway-lib-std", branch = "master" }
12 changes: 2 additions & 10 deletions test/src/e2e_vm_tests/test_programs/assert_test/Forc.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,13 @@
[[package]]
name = 'assert_test'
dependencies = [
'core git+http://github.com/FuelLabs/sway-lib-core?reference=v0.0.1#45c54ab37abde32a10e20964264cf7362dd73caa',
'std git+http://github.com/FuelLabs/sway-lib-std?reference=v0.0.1#5a0938f8248d820ef178b6efd9c105463c543226',
]
dependencies = ['std git+http://github.com/FuelLabs/sway-lib-std?reference=master#247270e7d8911e754a989b2fe280c462605ae2f6']

[[package]]
name = 'core'
source = 'git+http://github.com/FuelLabs/sway-lib-core?reference=master#c331ed20ebc9d646acec6b8ee8f408627ce3b573'
dependencies = []

[[package]]
name = 'core'
source = 'git+http://github.com/FuelLabs/sway-lib-core?reference=v0.0.1#45c54ab37abde32a10e20964264cf7362dd73caa'
dependencies = []

[[package]]
name = 'std'
source = 'git+http://github.com/FuelLabs/sway-lib-std?reference=v0.0.1#5a0938f8248d820ef178b6efd9c105463c543226'
source = 'git+http://github.com/FuelLabs/sway-lib-std?reference=master#247270e7d8911e754a989b2fe280c462605ae2f6'
dependencies = ['core git+http://github.com/FuelLabs/sway-lib-core?reference=master#c331ed20ebc9d646acec6b8ee8f408627ce3b573']
3 changes: 1 addition & 2 deletions test/src/e2e_vm_tests/test_programs/assert_test/Forc.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ name = "assert_test"
entry = "main.sw"

[dependencies]
std = { git = "http://github.com/FuelLabs/sway-lib-std", tag = "v0.0.1" }
core = { git = "http://github.com/FuelLabs/sway-lib-core", tag = "v0.0.1" }
std = { git = "http://github.com/FuelLabs/sway-lib-std", branch = "master" }
3 changes: 1 addition & 2 deletions test/src/e2e_vm_tests/test_programs/assert_test/src/main.sw
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
script;
use std::chain::*;
use core::ops::*;
use std::chain::assert;

// @todo add a test using this in a contract.
// @todo add a test confirming that assert(false) does panic/revert
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,15 @@ dependencies = []
name = 'auth_testing_contract'
dependencies = [
'auth_testing_abi',
'core git+http://github.com/FuelLabs/sway-lib-core?reference=v0.0.1#45c54ab37abde32a10e20964264cf7362dd73caa',
'std git+http://github.com/FuelLabs/sway-lib-std?reference=v0.0.1#5a0938f8248d820ef178b6efd9c105463c543226',
'std git+http://github.com/FuelLabs/sway-lib-std?reference=master#247270e7d8911e754a989b2fe280c462605ae2f6',
]

[[package]]
name = 'core'
source = 'git+http://github.com/FuelLabs/sway-lib-core?reference=master#c331ed20ebc9d646acec6b8ee8f408627ce3b573'
dependencies = []

[[package]]
name = 'core'
source = 'git+http://github.com/FuelLabs/sway-lib-core?reference=v0.0.1#45c54ab37abde32a10e20964264cf7362dd73caa'
dependencies = []

[[package]]
name = 'std'
source = 'git+http://github.com/FuelLabs/sway-lib-std?reference=v0.0.1#5a0938f8248d820ef178b6efd9c105463c543226'
source = 'git+http://github.com/FuelLabs/sway-lib-std?reference=master#247270e7d8911e754a989b2fe280c462605ae2f6'
dependencies = ['core git+http://github.com/FuelLabs/sway-lib-core?reference=master#c331ed20ebc9d646acec6b8ee8f408627ce3b573']
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ license = "Apache-2.0"
name = "auth_testing_contract"

[dependencies]
std = { git = "http://github.com/FuelLabs/sway-lib-std", tag = "v0.0.1" }
core = { git = "http://github.com/FuelLabs/sway-lib-core", tag = "v0.0.1" }
std = { git = "http://github.com/FuelLabs/sway-lib-std", branch = "master" }
auth_testing_abi = { path = "../auth_testing_abi" }
15 changes: 1 addition & 14 deletions test/src/e2e_vm_tests/test_programs/b256_bad_jumps/Forc.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,8 @@
[[package]]
name = 'b256_bad_jumps'
dependencies = [
'core git+http://github.com/FuelLabs/sway-lib-core?reference=v0.0.1#45c54ab37abde32a10e20964264cf7362dd73caa',
'std git+http://github.com/FuelLabs/sway-lib-std?reference=v0.0.1#5a0938f8248d820ef178b6efd9c105463c543226',
]
dependencies = ['core git+http://github.com/FuelLabs/sway-lib-core?reference=master#c331ed20ebc9d646acec6b8ee8f408627ce3b573']

[[package]]
name = 'core'
source = 'git+http://github.com/FuelLabs/sway-lib-core?reference=master#c331ed20ebc9d646acec6b8ee8f408627ce3b573'
dependencies = []

[[package]]
name = 'core'
source = 'git+http://github.com/FuelLabs/sway-lib-core?reference=v0.0.1#45c54ab37abde32a10e20964264cf7362dd73caa'
dependencies = []

[[package]]
name = 'std'
source = 'git+http://github.com/FuelLabs/sway-lib-std?reference=v0.0.1#5a0938f8248d820ef178b6efd9c105463c543226'
dependencies = ['core git+http://github.com/FuelLabs/sway-lib-core?reference=master#c331ed20ebc9d646acec6b8ee8f408627ce3b573']
3 changes: 1 addition & 2 deletions test/src/e2e_vm_tests/test_programs/b256_bad_jumps/Forc.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ name = "b256_bad_jumps"
entry = "main.sw"

[dependencies]
std = { git = "http://github.com/FuelLabs/sway-lib-std", tag = "v0.0.1" }
core = { git = "http://github.com/FuelLabs/sway-lib-core", tag = "v0.0.1" }
core = { git = "http://github.com/FuelLabs/sway-lib-core", branch = "master" }
12 changes: 2 additions & 10 deletions test/src/e2e_vm_tests/test_programs/b256_ops/Forc.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,13 @@
[[package]]
name = 'b256_ops'
dependencies = [
'core git+http://github.com/FuelLabs/sway-lib-core?reference=v0.0.1#45c54ab37abde32a10e20964264cf7362dd73caa',
'std git+http://github.com/FuelLabs/sway-lib-std?reference=v0.0.1#5a0938f8248d820ef178b6efd9c105463c543226',
]
dependencies = ['std git+http://github.com/FuelLabs/sway-lib-std?reference=master#247270e7d8911e754a989b2fe280c462605ae2f6']

[[package]]
name = 'core'
source = 'git+http://github.com/FuelLabs/sway-lib-core?reference=master#c331ed20ebc9d646acec6b8ee8f408627ce3b573'
dependencies = []

[[package]]
name = 'core'
source = 'git+http://github.com/FuelLabs/sway-lib-core?reference=v0.0.1#45c54ab37abde32a10e20964264cf7362dd73caa'
dependencies = []

[[package]]
name = 'std'
source = 'git+http://github.com/FuelLabs/sway-lib-std?reference=v0.0.1#5a0938f8248d820ef178b6efd9c105463c543226'
source = 'git+http://github.com/FuelLabs/sway-lib-std?reference=master#247270e7d8911e754a989b2fe280c462605ae2f6'
dependencies = ['core git+http://github.com/FuelLabs/sway-lib-core?reference=master#c331ed20ebc9d646acec6b8ee8f408627ce3b573']
3 changes: 1 addition & 2 deletions test/src/e2e_vm_tests/test_programs/b256_ops/Forc.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ name = "b256_ops"
entry = "main.sw"

[dependencies]
std = { git = "http://github.com/FuelLabs/sway-lib-std", tag = "v0.0.1" }
core = { git = "http://github.com/FuelLabs/sway-lib-core", tag = "v0.0.1" }
std = { git = "http://github.com/FuelLabs/sway-lib-std", branch = "master" }
Loading

0 comments on commit 46a62d7

Please sign in to comment.