Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implement light client verification methods #1116

Open
wants to merge 34 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
a537493
feat: implement light client verification methods
austinabell Apr 24, 2023
39b4575
chore: docs
austinabell Apr 25, 2023
879a7ab
refactor: move light-client APIs to own crate, migrate sha impl
austinabell Apr 26, 2023
17f0cf3
chore: changeset
austinabell Apr 26, 2023
f47b4fa
chore: add docs to validation steps
austinabell Apr 26, 2023
f8612ff
refactor: switch function params to be an object rather than positional
austinabell Apr 26, 2023
b280d8e
chore: revert naj test changes
austinabell Apr 26, 2023
4e81fae
test: adds back light client block verification test
austinabell Apr 26, 2023
09f957f
chore: lint
austinabell Apr 26, 2023
8ad77ae
test: add back execution proof verification in NAJ test
austinabell Apr 26, 2023
153dfa7
test: add execution proof test vectors
austinabell Apr 26, 2023
59b4f14
chore: address comments before refactoring
austinabell Apr 27, 2023
68601e5
refactor: move Enum class to types
austinabell Apr 27, 2023
73644e2
refactor: move light client logic into separate files
austinabell Apr 27, 2023
ab94d18
refactor: move borsh utils to own file
austinabell Apr 27, 2023
e15fad7
Merge branch 'master' into light_client
austinabell Apr 27, 2023
206df23
chore: remove todo from updated types
austinabell Apr 27, 2023
de393fb
chore: update changeset
austinabell Apr 27, 2023
daca5d2
test: move execution verification providers check into accounts
austinabell Apr 27, 2023
f509b3f
Merge branch 'master' into light_client
austinabell Apr 29, 2023
0dde04f
Merge branch 'master' into light_client
austinabell May 4, 2023
29c9ea6
fix: bug with bp signature validation
austinabell May 5, 2023
fe45242
refactor: move block hash generation to after trivial validation
austinabell May 5, 2023
20bff2e
chore: lint fix
austinabell May 5, 2023
0559e23
fix: bn comparison bug
austinabell May 23, 2023
d867179
fix: execution test parameter format from changes
austinabell May 24, 2023
8731572
Merge branch 'master' into light_client
austinabell May 24, 2023
f766671
fix: changes based on review comments
austinabell Jun 2, 2023
c5d1378
Merge branch 'master' into light_client
austinabell Jun 2, 2023
a8e19d8
chore: empty commit to re-trigger flaky CI
austinabell Jun 2, 2023
e7c26ce
Merge branch 'master' into light_client
vikinatora Feb 26, 2024
d97a801
fix: pnpm-lock.yaml
vikinatora Feb 26, 2024
35c12da
chore: lock package version
vikinatora Feb 26, 2024
6aed942
Merge remote-tracking branch 'upstream/master' into light_client
vikinatora Mar 12, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/near-api-js/src/common-index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import * as providers from './providers';
import * as utils from './utils';
import * as transactions from './transaction';
import * as validators from './validators';
import * as lightClient from './light-client';

import { Account } from './account';
import * as multisig from './account_multisig';
Expand All @@ -24,6 +25,7 @@ export {
utils,
transactions,
validators,
lightClient,

multisig,
Account,
Expand Down
Loading