Skip to content

Commit

Permalink
Fixing build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Pauan committed Aug 13, 2024
1 parent 72f9bbf commit 97442a9
Show file tree
Hide file tree
Showing 6 changed files with 562 additions and 350 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/staging-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2024-05-14
toolchain: nightly-2024-08-12
override: true
components: rustfmt, rust-src

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2024-05-14
toolchain: nightly-2024-08-12
override: true
components: rustfmt, rust-src

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2024-05-14
toolchain: nightly-2024-08-12
override: true
components: rustfmt, rust-src

Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[toolchain]
channel = "nightly-2024-05-14"
channel = "nightly-2024-08-12"
components = [ "rust-std", "rust-src" ]
targets = [ "wasm32-unknown-unknown" ]
2 changes: 1 addition & 1 deletion sdk/tests/network-client.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ describe('NodeConnection', () => {
it('should return an array of Block objects', async () => {
const blockRange = await connection.getBlockRange(1, 3);
expect(Array.isArray(blockRange)).toBe(true);
expect((blockRange as Block[]).length).toBe(3);
expect((blockRange as Block[]).length).toBe(2);
expect(((blockRange as Block[])[0] as Block).block_hash).toBe("ab1eddc3np4h6duwf5a7ht6u0x5maa08780l885j6xq0s7l88df0qrq3d72me");
expect(((blockRange as Block[])[1] as Block).block_hash).toBe("ab1uqmm97qk5gzhgwh6308h48aszazhfnn0xdq84lrj7e7myyrf9yyqmqdf42");

Expand Down
Loading

0 comments on commit 97442a9

Please sign in to comment.