Skip to content

Commit

Permalink
feat: apply review changes (#97)
Browse files Browse the repository at this point in the history
* docs: add context / example

* fix: real instant finality

* fix: typo
  • Loading branch information
byeongsu-hong authored Feb 28, 2024
1 parent 6d559d1 commit 117890c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,11 @@ cargo llvm-cov --workspace --exclude hpl-tests
│ ├── pausable
│ └── router
├── scripts # useful scripts for development (e.g. code uploading. contract deployment)
├── context # predeployed contract information
├── example # example of contract deployment & integration
├── script # useful scripts for development (e.g. code uploading. contract deployment)
└── ts
└── sdk # typescript sdk for contract integration. (auto generated via ts-codegen)
Expand Down
4 changes: 2 additions & 2 deletions script/deploy/hook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ const deployCustomRoutingHook = async (
};
};

const deployFallbackRoitingHook = async (
const deployFallbackRoutingHook = async (
networkId: string,
ctx: Context,
client: Client,
Expand Down Expand Up @@ -244,7 +244,7 @@ export const deployHook = async (

// deploy fallback routing hook
case "routing-fallback":
return deployFallbackRoitingHook(networkId, ctx, client, hook);
return deployFallbackRoutingHook(networkId, ctx, client, hook);

default:
throw new Error("invalid hook type");
Expand Down
2 changes: 1 addition & 1 deletion script/shared/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export type HplAgentConfig = {
chunk: number;
};
blocks: {
reorgPeriod: 1; // instant finality ⭐️
reorgPeriod: 0; // instant finality ⭐️
};

mailbox: string; // hexed
Expand Down

0 comments on commit 117890c

Please sign in to comment.