Skip to content

Commit

Permalink
Merge branch 'main' into 33-split-deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
edulanasca authored Apr 15, 2024
2 parents da3107f + 4046b77 commit 849edab
Show file tree
Hide file tree
Showing 10 changed files with 105 additions and 1,089 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ name: Next.js CI
on:
push:
paths:
- 'packages/nextjs/**'
- "packages/nextjs/**"
pull_request:
branches:
- main
paths:
- 'packages/nextjs/**'
- "packages/nextjs/**"

jobs:
ci:
Expand All @@ -27,7 +27,7 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: 'yarn'
cache: "yarn"
#cache-dependency-path: packages/nextjs/yarn.lock

- name: Install dependencies (Next.js)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { AbiFunction, AbiParameter } from "~~/utils/scaffold-stark/contract";
import { uint256 } from "starknet";
import { byteArray } from "starknet-dev";
/**
* Generates a key based on function metadata
*/
Expand Down Expand Up @@ -37,6 +38,9 @@ const deepParseValues = (value: any, keyAndType?: any): any => {
if (keyAndType.includes("core::integer::u256")) {
return uint256.bnToUint256(value);
}
if (keyAndType.includes("core::byte_array::ByteArray")) {
return byteArray.byteArrayFromString(value);
}
}
if (typeof value === "string") {
if (isJsonString(value)) {
Expand Down
Loading

0 comments on commit 849edab

Please sign in to comment.