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

JSSDK: redesign the contract query arguments orders, security updates, docs #1273

Merged
merged 23 commits into from
Jul 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
0882063
feat(jssdk): added simple assert function.
Leechael May 17, 2023
50cc120
feat(jssdk): returns address in CertificateData
Leechael May 17, 2023
1064252
imp(jssdk): wrap cert into options object for PinkContractPromise que…
Leechael May 17, 2023
3f2b36c
feat(jssdk): options function for ApiPromise creation.
Leechael May 17, 2023
8d8fda7
fix(jssdk): broken after the query API change to keep compatible.
Leechael May 18, 2023
2669941
chore(e2e): review for e2e workflow
Leechael May 18, 2023
8ddf34c
fix(jssdk): up-to-date api change for e2e tests.
Leechael May 18, 2023
ba744be
fix(jssdk): the types is incorrect.
Leechael May 18, 2023
f364d77
fix(jssdk): made type linter happy
Leechael May 18, 2023
0c02d0f
fix(jssdk): the PinkLoggerContract initial failed.
Leechael May 19, 2023
3e11e0b
fix(jssdk): PinkLoggerContractPromise.getLog has not handle hex respo…
Leechael May 19, 2023
d961cd3
fix(jssdk): using randomHex instead call randomBytes directly.
Leechael May 19, 2023
1eff97c
imp(jssdk): ensure the types still can give additional type definitions.
Leechael May 19, 2023
20f62c2
dependencies: vitest for sdk
Leechael Jun 13, 2023
a3e0dfa
refactor: the aes-256-gcm test cases.
Leechael Jun 13, 2023
69a6811
feat: add upload method to CodePromise.
Leechael Jun 16, 2023
33de66c
docs: drafting the sdk documentation.
Leechael Jun 16, 2023
5f24a59
docs(jssdk): draft the section about sign certificate with browser wa…
Leechael Jun 24, 2023
efe3c44
fix(e2e): incompatible way calling contractPromise.query
Leechael Jun 24, 2023
e99c121
fix(e2e): test broken when the SDK query API design updated.
Leechael Jul 10, 2023
d0c21e4
chore: bump protobufjs to 7.2.4 and dependencies clean up for e2e tests.
Leechael Jul 10, 2023
c2a679e
dependencies(jssdk): update dependencies based on dependentbot's sugg…
Leechael Jul 10, 2023
d7793cb
build(e2e): fix npx pbjs won't call protobufjs-cli as expected.
Leechael Jul 11, 2023
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: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ jobs:
- name: Change permission
run: chmod +x ./target/release/phala-node ./target/release/pherry ./standalone/pruntime/bin/pruntime
- name: Run E2E tests
run: yarn set version berry && cd ./e2e/ && yarn && yarn build:sdk && yarn build:proto && yarn test
run: yarn set version berry && cd ./e2e/ && yarn && yarn build:proto && yarn test
- name: Pack logs if failed
if: failure()
run: tar czvf e2e-logs.tar.gz e2e
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ pruntime:
e2e:
make -C e2e/res
cd e2e && yarn build:proto
cd frontend/packages/sdk && yarn && yarn build && rm -rf node_modules
test:
cargo test --workspace --exclude node-executor --exclude phala-node

Expand Down
Loading