Skip to content
Draft
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/config
node_modules
13 changes: 8 additions & 5 deletions deno.jsonc
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
{
"nodeModulesDir": "auto",
"tasks": {
"generate": "deno run --allow-write=config --allow-read=config,generator ./generator/mod.ts",
"generate": "deno run --allow-write=config --allow-read=config ./generator/mod.ts",
"dev:relay": "DEBUG=* RELAY_CONFIG=./config/chain-aaa-relay.localhost.json deno run --watch -ENS -R=config ./relay/mod.ts"
},
"imports": {
"@david/dax": "jsr:@david/dax@^0.43.2",
"@faker-js/faker": "npm:@faker-js/faker@^9.9.0",
"@iroha/client": "jsr:@iroha/client@^0.4.0",
"@iroha/core": "jsr:@iroha/core@^0.4.0",
"@iroha/client": "jsr:@iroha/client@0.5.0-alpha",
"@iroha/core": "jsr:@iroha/core@0.5.0-alpha",
"@std/assert": "jsr:@std/assert@^1.0.13",
"@std/async": "jsr:@std/async@^1.0.14",
"@std/fs": "jsr:@std/fs@^1.0.19",
"@std/path": "jsr:@std/path@^1.1.1",
"@std/toml": "jsr:@std/toml@^1.0.8",
"@std/yaml": "jsr:@std/yaml@^1.0.9",
"debug": "npm:debug@^4.4.1",
"pino": "npm:pino@^10.0.0",
"pino-pretty": "npm:pino-pretty@^13.1.1",
"true-myth": "npm:true-myth@^9.0.1",
"ts-pattern": "npm:ts-pattern@^5.8.0",
"zod": "npm:zod@^4.0.15",
"zod": "npm:zod@^4.1.11",
}
}
195 changes: 158 additions & 37 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions executor/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM hyperledger/iroha:experimental-xx-858df795cc8ea480a214ff73f3087a3bbf5f7d85 AS iroha

FROM rust:1.89-bullseye
WORKDIR /app

ARG IROHA_REV=a84bc8893451cf08f346eb476097c13ca7bf65fb
RUN git init && \
git remote add origin https://github.com/hyperledger-iroha/iroha.git && \
git fetch origin $IROHA_REV && \
git reset --hard FETCH_HEAD

COPY --from=iroha /usr/local/bin/kagami /usr/local/bin/
# TODO: add rust-src component to Iroha's rust-toolchain.toml
RUN mkdir -p outputs && \
rustup component add rust-src && \
kagami wasm build wasm/libs/default_executor --out-file outputs/executor.wasm
Binary file removed generator/executor.wasm
Binary file not shown.
Loading