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

chore: remove unused assets and update contracts #3

Merged
merged 1 commit into from
Jul 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Empty file removed artifacts/issuer_jwk
Empty file.
26 changes: 0 additions & 26 deletions artifacts/resource_payload.json

This file was deleted.

2 changes: 1 addition & 1 deletion contracts
Submodule contracts updated 79 files
+9 −2 .gitignore
+73 −98 Cargo.lock
+7 −0 README.md
+49 −0 avida-ts/README.md
+56 −0 avida-ts/docker/cheqd-resource-artifacts/did_payload.json
+1 −0 avida-ts/docker/cheqd-resource-artifacts/jwk.json
+25 −0 avida-ts/docker/cheqd-resource-artifacts/resource_payload_no_data.json
+69 −0 avida-ts/docker/docker-compose.local.yaml
+1 −0 avida-ts/docker/hermes-relayer-config/cheqd-relayer
+120 −0 avida-ts/docker/hermes-relayer-config/config.toml
+1 −0 avida-ts/docker/hermes-relayer-config/neutron-relayer
+18 −0 avida-ts/docker/local-chain-config/cheqd.json
+72 −0 avida-ts/docker/local-chain-config/config.yaml
+18 −0 avida-ts/docker/local-chain-config/neutron.json
+30 −0 avida-ts/docker/scripts/cheqd-genesis.sh
+42 −0 avida-ts/docker/scripts/cheqd-resource-upload.sh
+59 −0 avida-ts/docker/scripts/neutron-deploy.sh
+71 −0 avida-ts/docker/scripts/relayer-avida-link.sh
+0 −0 avida-ts/env/local.contract
+10 −0 avida-ts/env/local.env
+272 −0 avida-ts/eslint.config.js
+57 −0 avida-ts/eslint.ignores.js
+59 −0 avida-ts/package.json
+2 −0 avida-ts/packages/avida-common-types/index.ts
+153 −0 avida-ts/packages/avida-common-types/messages/SdjwtVerifier.message.ts
+1 −0 avida-ts/packages/avida-common-types/messages/index.ts
+23 −0 avida-ts/packages/avida-common-types/package.json
+4 −0 avida-ts/packages/avida-common-types/src/cheqd.ts
+68 −0 avida-ts/packages/avida-common-types/src/contracts/RestaurantContract.types.ts
+80 −0 avida-ts/packages/avida-common-types/src/contracts/SdjwtVerifier.types.ts
+14 −0 avida-ts/packages/avida-common-types/src/contracts/contracts.ts
+3 −0 avida-ts/packages/avida-common-types/src/index.ts
+9 −0 avida-ts/packages/avida-common-types/src/sdjwt.ts
+31 −0 avida-ts/packages/avida-common-types/tsconfig.json
+17 −0 avida-ts/packages/avida-common-types/tsup.config.ts
+86 −0 avida-ts/packages/avida-common-types/types/SdjwtVerifier.types.ts
+2 −0 avida-ts/packages/avida-common-types/types/index.ts
+2,431 −0 avida-ts/packages/avida-tx-utils/package-lock.json
+33 −0 avida-ts/packages/avida-tx-utils/package.json
+47 −0 avida-ts/packages/avida-tx-utils/src/exec.ts
+56 −0 avida-ts/packages/avida-tx-utils/src/index.ts
+29 −0 avida-ts/packages/avida-tx-utils/src/sdjwt_utils.ts
+106 −0 avida-ts/packages/avida-tx-utils/src/upload_and_inst.ts
+36 −0 avida-ts/packages/avida-tx-utils/src/wallet.ts
+29 −0 avida-ts/packages/avida-tx-utils/tsconfig.json
+17 −0 avida-ts/packages/avida-tx-utils/tsup.config.ts
+268 −0 avida-ts/packages/deployer/package-lock.json
+22 −0 avida-ts/packages/deployer/package.json
+28 −0 avida-ts/packages/deployer/src/index.ts
+37 −0 avida-ts/packages/deployer/tsconfig.json
+17 −0 avida-ts/packages/deployer/tsup.config.ts
+14,443 −0 avida-ts/pnpm-lock.yaml
+3 −0 avida-ts/pnpm-workspace.yaml
+2 −0 avida-ts/reset.d.ts
+3 −0 avida-ts/scripts/deploy-avida.mjs
+177 −0 avida-ts/scripts/gen-contract-types.mjs
+255 −0 avida-ts/scripts/local-e2e-demo.mjs
+120 −0 avida-ts/tsconfig.base.json
+8 −0 avida-ts/tsconfig.eslint.json
+19 −31 contracts/avida_example/schema/avida-example.json
+19 −31 contracts/avida_example/schema/raw/response_to_get_route_requirements.json
+41 −61 contracts/avida_example/src/contract.rs
+8 −5 contracts/avida_example/src/error.rs
+7 −11 contracts/avida_example/src/tests/exec_test.rs
+66 −11 contracts/avida_example/src/tests/fixtures.rs
+138 −60 contracts/avida_example/src/tests/flow_test.rs
+9 −10 contracts/avida_example/src/tests/query_test.rs
+0 −5 contracts/avida_example/src/types.rs
+3 −4 contracts/sdjwt-verifier/Cargo.toml
+9 −0 contracts/sdjwt-verifier/README.md
+1 −1 contracts/sdjwt-verifier/src/contract.rs
+28 −25 contracts/sdjwt-verifier/src/errors.rs
+7 −5 contracts/sdjwt-verifier/src/tests/fixtures.rs
+324 −61 contracts/sdjwt-verifier/src/tests/verifier_test.rs
+77 −43 contracts/sdjwt-verifier/src/types.rs
+54 −42 contracts/sdjwt-verifier/src/verifier.rs
+1 −0 packages/avida_test_utils/Cargo.toml
+37 −12 packages/avida_test_utils/src/sdjwt/fixtures.rs
+8 −1 scripts/build.sh
2 changes: 1 addition & 1 deletion testjson_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func TestJsonparse(t *testing.T) {
t.Parallel()

payloadJSON, _, err := cheqdCli.ReadPayloadWithSignInputsFromFile(
"artifacts/resource_payload.json",
"artifacts/resource_payload_no_data.json",
)

// Unmarshal payload
Expand Down
Loading