Skip to content

Commit

Permalink
[EVM] Audit Fixes (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
seunlanlege committed Jun 13, 2024
1 parent 93483ff commit 742ed62
Show file tree
Hide file tree
Showing 22 changed files with 1,411 additions and 166 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/hyperclient.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,9 @@ jobs:
rustup target add wasm32-unknown-unknown
- name: Build and Publish
working-directory: modules/client
working-directory: modules/hyperclient
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
INDEXER_URL: ${{ secrets.INDEXER_URL }}
run: |
wasm-pack build --release --no-default-features --features=wasm
cd pkg
Expand Down
1 change: 1 addition & 0 deletions docs/fixTrailingSlash.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import { glob } from "glob";
if (await fs.pathExists(filePathCopy)) {
} else {
await fs.copyFile(filePath, filePathCopy);
await fs.rm(filePath);
}
}),
);
Expand Down
5 changes: 5 additions & 0 deletions evm/abi/src/conversions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,11 @@ impl TryFrom<EvmHostEvents> for ismp::events::Event {
},
fisherman: vetoed.fisherman.as_bytes().to_vec(),
})),
EvmHostEvents::HostFrozenFilter(_) |
EvmHostEvents::HostUnfrozenFilter(_) |
EvmHostEvents::HostParamsUpdatedFilter(_) |
EvmHostEvents::PostResponseFundedFilter(_) |
EvmHostEvents::RequestFundedFilter(_) => Err(anyhow!("Unsupported Event!"))?,
}
}
}
Expand Down
711 changes: 710 additions & 1 deletion evm/abi/src/generated/evm_host.rs

Large diffs are not rendered by default.

Loading

0 comments on commit 742ed62

Please sign in to comment.