-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into st/refactor/make-transaction-request-prote…
…cted-on-base-invocation-scope
- Loading branch information
Showing
82 changed files
with
316 additions
and
78 deletions.
There are no files selected for viewing
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# demo-nextjs | ||
|
||
## 0.1.20 | ||
|
||
## 0.1.19 | ||
|
||
## 0.1.18 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,3 +35,5 @@ | |
## null | ||
|
||
## null | ||
|
||
## null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# demo-react-cra | ||
|
||
## 0.1.20 | ||
|
||
## 0.1.19 | ||
|
||
## 0.1.18 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# demo-react-vite | ||
|
||
## 0.0.20 | ||
|
||
## 0.0.19 | ||
|
||
## 0.0.18 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,3 +43,5 @@ | |
## null | ||
|
||
## null | ||
|
||
## null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# @fuel-ts/docs-snippets | ||
|
||
## 0.60.0 | ||
|
||
## 0.59.0 | ||
|
||
## 0.58.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# @fuel-ts/docs | ||
|
||
## 0.43.2 | ||
|
||
## 0.43.1 | ||
|
||
## 0.43.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,3 +39,5 @@ | |
## null | ||
|
||
## null | ||
|
||
## null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@fuel-ts/abi-coder", | ||
"version": "0.59.0", | ||
"version": "0.60.0", | ||
"description": "", | ||
"author": "Fuel Labs <[email protected]> (https://fuel.network/)", | ||
"main": "dist/index.js", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# @fuel-ts/abi-typegen | ||
|
||
## 0.60.0 | ||
|
||
## 0.59.0 | ||
|
||
## 0.58.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@fuel-ts/abi-typegen", | ||
"version": "0.59.0", | ||
"version": "0.60.0", | ||
"description": "Generates Typescript definitions from Sway ABI Json files", | ||
"author": "Fuel Labs <[email protected]> (https://fuel.network/)", | ||
"bin": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# Change Log | ||
|
||
## 0.60.0 | ||
|
||
## 0.59.0 | ||
|
||
### Minor Changes | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@fuel-ts/address", | ||
"version": "0.59.0", | ||
"version": "0.60.0", | ||
"description": "Utilities for encoding and decoding addresses", | ||
"author": "Fuel Labs <[email protected]> (https://fuel.network/)", | ||
"main": "dist/index.js", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@fuel-ts/contract", | ||
"version": "0.59.0", | ||
"version": "0.60.0", | ||
"description": "", | ||
"author": "Fuel Labs <[email protected]> (https://fuel.network/)", | ||
"main": "dist/index.js", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# Change Log | ||
|
||
## 0.60.0 | ||
|
||
## 0.59.0 | ||
|
||
## 0.58.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@fuel-ts/crypto", | ||
"version": "0.59.0", | ||
"version": "0.60.0", | ||
"description": "Utilities for encrypting and decrypting data", | ||
"author": "Fuel Labs <[email protected]> (https://fuel.network/)", | ||
"main": "dist/index.js", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@fuel-ts/errors", | ||
"version": "0.59.0", | ||
"version": "0.60.0", | ||
"description": "Error class and error codes that the fuels-ts library throws", | ||
"author": "Fuel Labs <[email protected]> (https://fuel.network/)", | ||
"main": "dist/index.js", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# Change Log | ||
|
||
## 0.60.0 | ||
|
||
## 0.59.0 | ||
|
||
## 0.58.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@fuel-ts/forc", | ||
"version": "0.59.0", | ||
"version": "0.60.0", | ||
"description": "NPM bin wrapper around Fuel `forc`", | ||
"author": "Fuel Labs <[email protected]> (https://fuel.network/)", | ||
"bin": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# @fuel-ts/fuel-core | ||
|
||
## 0.60.0 | ||
|
||
## 0.59.0 | ||
|
||
### Minor Changes | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@fuel-ts/fuel-core", | ||
"version": "0.59.0", | ||
"version": "0.60.0", | ||
"description": "NPM bin wrapper around `fuel-core`", | ||
"author": "Fuel Labs <[email protected]> (https://fuel.network/)", | ||
"bin": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
packages/fuel-gauge/fixtures/forc-projects/script-bytes/Forc.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[project] | ||
authors = ["FuelLabs"] | ||
entry = "main.sw" | ||
license = "Apache-2.0" | ||
name = "script-bytes" | ||
|
||
[dependencies] |
37 changes: 37 additions & 0 deletions
37
packages/fuel-gauge/fixtures/forc-projects/script-bytes/src/main.sw
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
script; | ||
|
||
use std::bytes::Bytes; | ||
|
||
#[allow(dead_code)] | ||
enum SomeEnum<T> { | ||
First: bool, | ||
Second: T, | ||
} | ||
|
||
struct Wrapper<T> { | ||
inner: T, | ||
inner_enum: SomeEnum<Bytes>, | ||
} | ||
|
||
fn expected_bytes() -> Bytes { | ||
let mut bytes = Bytes::new(); | ||
|
||
bytes.push(40u8); | ||
bytes.push(41u8); | ||
bytes.push(42u8); | ||
|
||
bytes | ||
} | ||
|
||
fn main(_arg: u64, wrapper: Wrapper<Vec<Bytes>>) { | ||
if let SomeEnum::Second(enum_bytes) = wrapper.inner_enum { | ||
require(enum_bytes == expected_bytes(), "wrapper.inner_enum didn't carry the expected bytes") | ||
} else { | ||
require(false, "enum was not of variant Second"); | ||
} | ||
|
||
let inner_vec = wrapper.inner; | ||
require(inner_vec.len() == 2, "Expected wrapper.inner vector to have 2 elements"); | ||
require(inner_vec.get(0).unwrap() == expected_bytes(), "wrapper.inner[0] didn't match expectation"); | ||
require(inner_vec.get(1).unwrap() == expected_bytes(), "wrapper.inner[1] didn't match expectation"); | ||
} |
7 changes: 7 additions & 0 deletions
7
packages/fuel-gauge/fixtures/forc-projects/script-raw-slice/Forc.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[project] | ||
authors = ["FuelLabs"] | ||
entry = "main.sw" | ||
license = "Apache-2.0" | ||
name = "script-raw-slice" | ||
|
||
[dependencies] |
Oops, something went wrong.