Skip to content

Commit

Permalink
fix: remove console import from index.ts in in-browser-evm-verifier p…
Browse files Browse the repository at this point in the history
…ackage (#841)
  • Loading branch information
ethan-crypto authored Aug 30, 2024
1 parent 61b7a8e commit b49b048
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/engine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ jobs:
override: true
components: rustfmt, clippy
- uses: jetli/[email protected]
with:
# Pin to version 0.12.1
version: 'v0.12.1'
- name: Add wasm32-unknown-unknown target
run: rustup target add wasm32-unknown-unknown

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,9 @@ jobs:
override: true
components: rustfmt, clippy
- uses: jetli/[email protected]
with:
# Pin to version 0.12.1
version: 'v0.12.1'
- uses: nanasess/setup-chromedriver@v2
# with:
# chromedriver-version: "115.0.5790.102"
Expand Down Expand Up @@ -373,6 +376,9 @@ jobs:
override: true
components: rustfmt, clippy
- uses: jetli/[email protected]
with:
# Pin to version 0.12.1
version: 'v0.12.1'
- name: Add wasm32-unknown-unknown target
run: rustup target add wasm32-unknown-unknown

Expand Down
3 changes: 1 addition & 2 deletions in-browser-evm-verifier/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { EVM } from '@ethereumjs/evm'
import { buildTransaction, encodeDeployment } from './utils/tx-builder'
import { getAccountNonce, insertAccount } from './utils/account-utils'
import { encodeVerifierCalldata } from '../nodejs/ezkl';
import { error } from 'console'

async function deployContract(
vm: VM,
Expand Down Expand Up @@ -66,7 +65,7 @@ async function verify(
vkAddress = new Uint8Array(uint8Array.buffer);

// convert uitn8array of length
error('vkAddress', vkAddress)
console.error('vkAddress', vkAddress)
}
const data = encodeVerifierCalldata(proof, vkAddress)

Expand Down

0 comments on commit b49b048

Please sign in to comment.