From a251b072021e7798d5587bbde77b64af0c23f336 Mon Sep 17 00:00:00 2001 From: rouzwelt Date: Wed, 31 Jul 2024 23:34:34 +0000 Subject: [PATCH] init --- .github/workflows/rainix.yml | 5 ++++- Cargo.lock | 6 ++++-- Cargo.toml | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rainix.yml b/.github/workflows/rainix.yml index 89ec6db..caadd91 100644 --- a/.github/workflows/rainix.yml +++ b/.github/workflows/rainix.yml @@ -25,4 +25,7 @@ jobs: run: nix develop -c rainix-rs-prelude - name: Run Command ${{ matrix.task }} - run: nix develop -c ${{ matrix.task }} \ No newline at end of file + run: nix develop -c ${{ matrix.task }} + + - name: Build for wasm target + run: nix develop -c cargo build --target wasm32-unknown-unknown \ No newline at end of file diff --git a/Cargo.lock b/Cargo.lock index 37bbf79..c2d6596 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -67,7 +67,7 @@ dependencies = [ [[package]] name = "alloy-ethers-typecast" version = "0.2.0" -source = "git+https://github.com/rainlanguage/alloy-ethers-typecast?rev=cbdedb77fb1994a18ceb47e72786f8b32b670669#cbdedb77fb1994a18ceb47e72786f8b32b670669" +source = "git+https://github.com/rainlanguage/alloy-ethers-typecast?rev=d9bd0fe8360d803ed3e58b34063890c8775999f2#d9bd0fe8360d803ed3e58b34063890c8775999f2" dependencies = [ "alloy-dyn-abi", "alloy-json-abi", @@ -76,6 +76,7 @@ dependencies = [ "async-trait", "derive_builder", "ethers", + "getrandom", "once_cell", "rain-error-decoding", "reqwest", @@ -3210,13 +3211,14 @@ dependencies = [ [[package]] name = "rain-error-decoding" version = "0.1.0" -source = "git+https://github.com/rainlanguage/rain.error?rev=700142c3c73d5cbaea82f1d51af5ce04de5bac6a#700142c3c73d5cbaea82f1d51af5ce04de5bac6a" +source = "git+https://github.com/rainlanguage/rain.error?rev=72d9577fdaf7135113847027ba951f9a43b41827#72d9577fdaf7135113847027ba951f9a43b41827" dependencies = [ "alloy-dyn-abi", "alloy-json-abi", "alloy-primitives", "alloy-sol-types", "ethers", + "getrandom", "once_cell", "reqwest", "serde", diff --git a/Cargo.toml b/Cargo.toml index 5e82dc1..7ca6f6d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ repository = "https://github.com/rainlanguage/rain.erc" thiserror = "1.0.56" alloy-primitives = "0.6.3" alloy-sol-types = { version = "0.6.3", features = ["json"] } -alloy-ethers-typecast = { git = "https://github.com/rainlanguage/alloy-ethers-typecast", rev = "cbdedb77fb1994a18ceb47e72786f8b32b670669" } +alloy-ethers-typecast = { git = "https://github.com/rainlanguage/alloy-ethers-typecast", rev = "d9bd0fe8360d803ed3e58b34063890c8775999f2" } [dev-dependencies] tokio = { version = "1.28.0", features = ["full"] }