Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
45930 committed Nov 26, 2024
1 parent 444d91f commit a250b48
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/resolvers.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ describe('Query Resolvers', async () => {
test('the events have the correct data', async () => {
for (let i = 0; i < numberOfEmits; i++) {
const eventData = lastBlockEvents[i]!;
// The event type is 1 and the event data is 2, 1 (Bool(true)), and the zkapp address
// The event type is 1 and the event data is 2, 1 (Bool(true)), 1, and the zkapp address
assert.deepStrictEqual(eventData.data, [
'1',
'2',
Expand Down
17 changes: 17 additions & 0 deletions tests/runZkNoidScriptLocal.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import { Mina, PublicKey } from 'o1js';

const network = Mina.Network({
mina: 'https://api.minascan.io/node/devnet/v1/graphql',
archive: 'http://localhost:3000',
});
Mina.setActiveInstance(network);

const actions = await Mina.activeInstance.fetchActions(
PublicKey.fromBase58(
'B62qrHzs8Sn6rJW3Jkd8xvUkPKb4RBC4xsTgKnBd7KvVWnjhkXV7YKJ'
// 'B62qmASMoUYbRA2TwbB6gDTcdaS9QxEQYghV67i8oMeqA5tsbfvkJ6P'
// 'B62qio1AyjVw6tBqYCuEJqDz3ej3qVCyJjcQfTTbt3VgE6MZmtruiMJ'
)
);

console.log(actions);

0 comments on commit a250b48

Please sign in to comment.