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

Add a bit of logging to mock runtime #1006

Open
wants to merge 244 commits into
base: fvm-next
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
244 commits
Select commit Hold shift + click to select a range
a87c640
[m2 native] user actor installation (#491)
vyzo Jul 22, 2022
427bc99
add devnet-wasm and wallaby networks with associated features to buil…
raulk Jul 28, 2022
9c42e56
Merge branch 'master' into next
raulk Jul 28, 2022
c28b820
[next] bump crates versions to 10.0.0-alpha.1 (#507)
raulk Jul 28, 2022
cf78922
adjust Wallaby parameters. (#508)
raulk Jul 28, 2022
36ec85a
basic EVM smart contract actor (#517)
vyzo Aug 18, 2022
0dc90b0
Integration origin from runtime context (#562)
vyzo Aug 19, 2022
3f8e6f1
EVM: don't encode contract invocation output data (#565)
vyzo Aug 21, 2022
b1ca8a1
ci: change CI trigger to pull_request + push to master (#510)
galargh Aug 1, 2022
fc1dfb9
ci: run CI on next (#569)
Stebalien Aug 22, 2022
2d2122f
EVM: cleanup opcode definition and resolution (#572)
vyzo Aug 23, 2022
8533873
feat: enum-based opcodes (#573)
Stebalien Aug 23, 2022
b0c8671
bump rust-toolchain to 1.63 (#576)
vyzo Aug 24, 2022
c49f4e1
wip jmptable based interpreter
vyzo Aug 24, 2022
4b01f17
flesh out machine scaffolding
vyzo Aug 24, 2022
5b3db72
implement interpreter guts
vyzo Aug 24, 2022
645bd71
reduce duplication, make everything run by a single macro
vyzo Aug 24, 2022
7ea12d0
rustfmt
vyzo Aug 24, 2022
a7536b3
Add comment about safety of the unsafe block.
vyzo Aug 24, 2022
5381035
remove redundant identifier names
vyzo Aug 24, 2022
e37886f
fix clippy
vyzo Aug 24, 2022
65369ba
Duplicate fvm_shared::actor::builtin::Type into runtime::builtins::Ty…
anorth Aug 16, 2022
66c9826
fix: non-fil-actor-compile (#571)
Stebalien Aug 24, 2022
19c0d72
feat: use Type from builtin-actors when building the bundle (#583)
Stebalien Aug 29, 2022
032067e
feat: Avoid blake2b hashing in wasm (#577)
geoff-vball Aug 26, 2022
97ff14e
Change runtime resolve address to return an ActorID (#549)
lyswifter Aug 29, 2022
79e399c
Optimize test_vm get_actor (#585)
Aug 29, 2022
422a48a
Change runtime address parameters to a reference (#581)
lyswifter Aug 29, 2022
dcc6643
feat: update sdk & shared for TokenAmount and hashing changes (#588)
Stebalien Aug 31, 2022
10fae60
EVM runtime: implement some contextual opcodes + EVM Address type (#586)
raulk Sep 1, 2022
6310cdd
EVM Precompiles (#564)
mriise Sep 2, 2022
970ed6a
chore: update sdk (#598)
Stebalien Sep 2, 2022
a38d600
test runtime: use Rc<MemoryBlockstore>. (#599)
Stebalien Sep 2, 2022
739590e
EVM: implement SELFDESTRUCT opcode. (#593)
raulk Sep 2, 2022
3b81985
fix: remove dependency on getrandom. (#603)
raulk Sep 5, 2022
4bddc7b
Make test verify if selfdestruct actually works (#604)
Sep 5, 2022
9322e27
basic contract assembler for testing EVM (#610)
vyzo Sep 6, 2022
c72420e
Some housekeeping (#612)
vyzo Sep 7, 2022
bbee410
EVM: Implement CALL (#614)
vyzo Sep 8, 2022
82c36db
EVM: remove H160/H256 abstractions and transactions (#619)
vyzo Sep 8, 2022
320989b
fix: cleanup runtime dependencies. (#623)
Stebalien Sep 8, 2022
4507f15
set codegen units to 1 for wasm (#512)
LesnyRumcajs Aug 4, 2022
d1730d0
ci: ensure that Cargo.lock is up-to-date (#544)
Stebalien Aug 12, 2022
cef1233
refine check-clippy with makefile (#552)
macro-ss Aug 17, 2022
b36ebd1
move rustfmt CI job into makefile (#557)
Stebalien Sep 9, 2022
013ec9e
Add code coverage report (#120)
vmx Aug 30, 2022
ba1fd1f
fix: check code both with all targets and without (#622)
Stebalien Sep 8, 2022
87e4084
EVM: some small fixes (#621)
vyzo Sep 9, 2022
bf3f20b
EVM runtime: implement GetBytecode and GetStorageAt getters. (#631)
raulk Sep 10, 2022
f5be9a9
EVM: Implement CALLACTOR/METHODNUM and REVERT abort semantics (#633)
vyzo Sep 12, 2022
b077886
EVM runtime: implement EXT* opcodes. (#632)
raulk Sep 12, 2022
aa64e5e
optimized tests & ci caching (#640)
Stebalien Sep 13, 2022
7b52f8d
build: avoid RUSTFLAGS (#642)
Stebalien Sep 13, 2022
e09dd7b
build: optimize bitfield operations in tests (#643)
Stebalien Sep 13, 2022
7fc40f3
Introduce a check for unique Robust Address in the Init Actor
Aug 22, 2022
0927953
Next: fix broken tests (#648)
vyzo Sep 14, 2022
a0309a8
Add ripemd160 precompile test (#651)
mriise Sep 14, 2022
f9a1713
fix: remove input_data from EVM constructor (#661)
Stebalien Sep 15, 2022
5ef23f4
rename evm actor's `Address` to `EthAddress` (#665)
mriise Sep 16, 2022
07bed12
feat: use consts for addrs (#660)
Stebalien Sep 16, 2022
3faab34
Replace actors cids to builtin.types in mockruntime (#629)
lyswifter Sep 16, 2022
0a4dfe1
EVM: Fix Precompile Failure Modes & Implement Remaining Precompile Te…
mriise Sep 17, 2022
be69f54
feat: add an embryo actor (#667)
Stebalien Sep 20, 2022
97d501f
fix: make the empty array CID const and export it (#668)
Stebalien Sep 20, 2022
d5e40c0
chore: rev codecov cache (#688)
Stebalien Sep 20, 2022
047560d
test: correctly compute the f2 address in the test vm (#686)
Stebalien Sep 20, 2022
023dd20
feat: basic f4 support (#684)
Stebalien Sep 20, 2022
07dd602
Traits and impls for adding context and exit codes to results. (#589)
anorth Sep 1, 2022
99b7a4c
EVM-887: Storage footprint test contract (#689)
aakoshh Sep 21, 2022
4f70083
fix: keep the embryo balance on deploy (#694)
Stebalien Sep 22, 2022
2070f4d
EVM-888: Storage footprint baseline test (#697)
aakoshh Oct 1, 2022
6d800c4
EVM-889: Visualize measurements (#708)
aakoshh Oct 1, 2022
9c07d06
EVM runtime: support GASPRICE, TIMESTAMP, CHAINID, GASLIMIT, GAS opco…
vyzo Oct 3, 2022
f93cbc7
chore: update fvm_sdk and fvm_shared (#748)
Stebalien Oct 11, 2022
184e590
Store/lookup predictable addresses (#743)
Stebalien Oct 11, 2022
4860e2f
chore: update fvm_ipld_encoding (#750)
Stebalien Oct 12, 2022
8c85c8e
EVM: Implement the EAM (#695)
mriise Oct 14, 2022
55da3df
fix: register the EAM (#756)
Stebalien Oct 15, 2022
49a91d5
feat: allow anyone to call EAM::create2 (#757)
Stebalien Oct 17, 2022
40aad04
fix: encode/decode EVM parameters as CBOR (#759)
Stebalien Oct 19, 2022
17f314e
EVM: save/restore state before/after send (#754)
Stebalien Oct 19, 2022
e4d503c
EVM: add an evm recursive call test (#767)
Stebalien Oct 19, 2022
21c1291
chore: update storage measurement plots (#769)
Stebalien Oct 19, 2022
cc090a1
EVM: allow evm/f4 addresses everywhere (#770)
Stebalien Oct 20, 2022
19bfc09
EVM: implement call variants: STATICCALL and DELEGATECALL (#768)
vyzo Oct 20, 2022
0c64a78
upgrade fvm_shared and fvm_sdk. (#774)
raulk Oct 21, 2022
b5ee962
Transfer value in embryonic actor calls (#773)
vyzo Oct 21, 2022
cac1981
upgrade to [email protected].
raulk Oct 22, 2022
138cc91
fix: allow calling more non-contract actors (#775)
Stebalien Oct 24, 2022
66ecb66
fix: truncate addresses in instructions (#777)
Stebalien Oct 24, 2022
b787886
fix: blockhash takes a height, not an offset (#778)
Stebalien Oct 25, 2022
deb8bdf
feat: allow anyone to call EAM::create (#779)
Stebalien Oct 25, 2022
f5c855b
chore: update sdk for address lookup fix
Stebalien Oct 25, 2022
27df7c4
fix: refactor mathops (#780)
Stebalien Oct 25, 2022
b43d954
feat: improve a few more math ops (#781)
Stebalien Oct 25, 2022
f0282ab
feat: do sha3 hashing with the runtime (#782)
Stebalien Oct 25, 2022
a7f261d
fix: implement logging as a no-op in production (#783)
Stebalien Oct 25, 2022
c965b74
Merge branch 'master' into evm/merge-master
Stebalien Oct 31, 2022
a5bf14e
ci: bump cache version
Stebalien Oct 31, 2022
5ebb625
Merge branch 'master' into next
Stebalien Nov 1, 2022
7418f62
feat: fix eam/evm for changes on master
Stebalien Nov 1, 2022
2acb19f
M2: drop m2-native feature from wallaby build (#815)
vyzo Nov 8, 2022
379ef07
fix: really allow anyone to call EAM::create (#820)
Stebalien Nov 9, 2022
d67f60c
fix: explicitly reject "reserved" eth addresses in the EAM (#822)
Stebalien Nov 9, 2022
a56108c
fix u256 encoding (#828)
Stebalien Nov 11, 2022
137c447
EVM: simplify and fix evm storage (#831)
Stebalien Nov 11, 2022
38e800e
EVM: remove impossible result (#833)
Stebalien Nov 11, 2022
47a1d64
EVM: reserve methods < 1024 for EVM internals (#823)
Stebalien Nov 11, 2022
46a59b5
EVM: on unhandled methods, call handle_filecoin_method with solidity …
Stebalien Nov 11, 2022
59e8796
chore: update storage plots (#832)
Stebalien Nov 11, 2022
eea22e0
FVM specific EVM precompiles (#792)
mriise Nov 12, 2022
5e40e06
EVM: use more EVM style parameters for FVM syscall precompiles (#837)
mriise Nov 12, 2022
0baa03d
upgrade [email protected], [email protected]. (#838)
raulk Nov 13, 2022
e8d71b2
upgrade fvm dependencies. (#840)
raulk Nov 14, 2022
b1ba610
EVM runtime: implement LOG{0..4} opcodes by emitting actor events (FI…
raulk Nov 15, 2022
ee12a8c
fix: correctly handle out-of-bounds cases when copying memory (#847)
Stebalien Nov 16, 2022
d24598d
chore: bump cache version
Stebalien Nov 16, 2022
cd7cfce
fix: allow empty EVM code, init and runtime (#848)
Stebalien Nov 17, 2022
bdeb3bc
chore: update fvm sdk (#854)
Stebalien Nov 17, 2022
1b11df4
chore: upgrade fvm_sdk for syscall changes (#862)
Stebalien Nov 18, 2022
31acd91
EVM: Move `CALLACTOR` into a precompile (#861)
mriise Nov 22, 2022
8e93725
EVM: Implement reverts correctly (#864)
vyzo Nov 23, 2022
c1f32cd
clean up leftovers from CALLACTOR and METHODNUM refactor. (#867)
raulk Nov 23, 2022
265948c
EVM: Unit tests for some math opcodes (#860)
mriise Nov 24, 2022
3c90246
fix call_actor precompile (#872)
rllola Nov 28, 2022
5a4b15b
EVM: Refactor Interpreter dispatch (#646)
vyzo Nov 28, 2022
8a5a26b
EVM: Further dispatch refactoring (#876)
vyzo Nov 29, 2022
a9b27f4
Update FVM (#877)
arajasek Nov 30, 2022
c26adc9
fix: correctly compute addresses in CREATE (#878)
Stebalien Nov 30, 2022
57e15f3
Proof of concept exported API for Account actor (#797)
anorth Nov 6, 2022
2fcd91b
Export stable methods for public access (#807)
arajasek Nov 7, 2022
94c17f2
Restrict internal APIs of all actors (#809)
arajasek Nov 7, 2022
305cfa6
Exported API method for market actor escrow/locked balance (#812)
anorth Nov 8, 2022
8c836b3
Power actor: Add exported getters for raw power (#810)
arajasek Nov 9, 2022
abbf12c
Built-in market API for deal proposal metadata (#818)
anorth Nov 9, 2022
687ae94
Call exported authenticate method from PSD (#829)
ZenGround0 Nov 11, 2022
ac59697
Drop CALLER_TYPES_SIGNABLE and signable caller validation (#821)
arajasek Nov 15, 2022
30e167a
Market actor: Minor improvements to two exported getters (#826)
arajasek Nov 15, 2022
4673ef2
Exported API for market deal activation state (#819)
anorth Nov 15, 2022
382ab4c
Paych actor: Drop account req, use AuthenticateMessage to verify sigs…
arajasek Nov 16, 2022
3e02530
Account actor: Deprecate AuthenticateMessage (#856)
arajasek Nov 17, 2022
7035d11
Market actor: Export PublishStorageDeals (#857)
arajasek Nov 19, 2022
b790646
Power: Derive Eq for power types
arajasek Nov 17, 2022
f496760
Miner: Export several more methods (#863)
arajasek Nov 22, 2022
fc811bd
Miner: Derive Eq for more types
arajasek Nov 22, 2022
59f0c4a
Power actor: Export methods to CreateMiner and get miner counts (#868)
arajasek Nov 23, 2022
fc7477c
Verifreg: Export AddVerifiedClient and GetClaims (#873)
arajasek Nov 28, 2022
ec7d3f2
feat: avoid exposing the gas limit in the runtime (#880)
Stebalien Nov 30, 2022
a30ee4e
chore: cleanup instruction tests (#884)
Stebalien Dec 1, 2022
4f7b89f
feat: correctly implement staticcall (#879)
Stebalien Dec 1, 2022
a382dc9
EVM: thread gas limit in send (#885)
vyzo Dec 1, 2022
49f927c
EVM: fix EXTCODE_ ops (#870)
mriise Dec 1, 2022
0f83948
fix: save state before callactor (#886)
Stebalien Dec 1, 2022
dd76d3e
EVM: thread gas go delegatecall (#888)
vyzo Dec 1, 2022
0509cde
EVM: further dispatch tweaks (#890)
vyzo Dec 1, 2022
77f6e8f
feat: further optimize instruction dispatch (#891)
Stebalien Dec 1, 2022
68a2b1b
fix: make some EVM math a bit more robust (#892)
Stebalien Dec 2, 2022
57d1054
EVM: rework jump instructions (#893)
vyzo Dec 2, 2022
6d7c99e
fix: allow creating empty contracts (#895)
Stebalien Dec 2, 2022
07b3ddb
refactor: rework opcodes definitions and control flow (#896)
Stebalien Dec 2, 2022
eea68aa
fix: correctly encode revert data (#899)
Stebalien Dec 2, 2022
0cc262a
fix: handle errors and non-existent addresses in selfdestruct (#897)
Stebalien Dec 2, 2022
3c54a25
Merge branch 'master' into next
Stebalien Dec 2, 2022
75dee66
test: fix buggy test after merge
Stebalien Dec 2, 2022
6386014
fix: right-pad when pushing at end of bytecode (#903)
Stebalien Dec 2, 2022
80bfa09
EVM: value + magic gas limit 23k implies METHOD_SEND (#887)
vyzo Dec 2, 2022
d7c1f31
fix: return data from callactor on revert as well (#905)
Stebalien Dec 3, 2022
1a1c109
refactor: remove OpCode enum and make the stack safe (#904)
Stebalien Dec 3, 2022
8b6ab83
EVM: optimize push ins for u64 sizes (#907)
vyzo Dec 3, 2022
8d920b7
reserve gas for return on CALL (#908)
vyzo Dec 5, 2022
020e1a5
Error early on insufficient balance for `Create`/`Create2` (#906)
mriise Dec 5, 2022
43ebbff
EVM: rewrite get_actor_code_cid to get_actor_type (#911)
mriise Dec 6, 2022
0aa4a4c
EVM: Split precompiles into smaller, more readable files (#916)
mriise Dec 7, 2022
3c417b8
Merge master and integration/builtin-api into next (#918)
arajasek Dec 7, 2022
0fc3556
EVM-859: Optimize storage footprint (#919)
aakoshh Dec 7, 2022
c37c68a
EVM: implement gas hocus pocus consensus logic (#920)
vyzo Dec 7, 2022
a6cf2f3
EVM: Call with flags through runtime (#917)
mriise Dec 8, 2022
46415d2
chore: update sdk (#924)
Stebalien Dec 8, 2022
b31f593
EVM-859: Try allowing data in the root, but just 1 KV pair. (#926)
aakoshh Dec 8, 2022
0fe4a69
fix: correctly handle "0" in EVM call gas (#928)
Stebalien Dec 8, 2022
b96e355
Merge branch 'master' into next
Stebalien Dec 8, 2022
077d187
feat: refactor sends to use the unified function (#923)
Stebalien Dec 8, 2022
36810e9
Proof of concept exported API for Account actor (#797)
anorth Nov 6, 2022
0f3d72f
Export stable methods for public access (#807)
arajasek Nov 7, 2022
370223b
Restrict internal APIs of all actors (#809)
arajasek Nov 7, 2022
dec77b8
Exported API method for market actor escrow/locked balance (#812)
anorth Nov 8, 2022
8542732
Power actor: Add exported getters for raw power (#810)
arajasek Nov 9, 2022
5c3ca43
Built-in market API for deal proposal metadata (#818)
anorth Nov 9, 2022
68aaba2
Call exported authenticate method from PSD (#829)
ZenGround0 Nov 11, 2022
0e18683
Drop CALLER_TYPES_SIGNABLE and signable caller validation (#821)
arajasek Nov 15, 2022
fdd6303
Market actor: Minor improvements to two exported getters (#826)
arajasek Nov 15, 2022
b26fc74
Exported API for market deal activation state (#819)
anorth Nov 15, 2022
cd33132
Paych actor: Drop account req, use AuthenticateMessage to verify sigs…
arajasek Nov 16, 2022
d6048c0
Account actor: Deprecate AuthenticateMessage (#856)
arajasek Nov 17, 2022
904bd6a
Market actor: Export PublishStorageDeals (#857)
arajasek Nov 19, 2022
d5f8048
Miner: Export several more methods (#863)
arajasek Nov 22, 2022
4a566de
Power actor: Export methods to CreateMiner and get miner counts (#868)
arajasek Nov 23, 2022
6e04569
Verifreg: Export AddVerifiedClient and GetClaims (#873)
arajasek Nov 28, 2022
fe6320c
Datacap actor: Modify exported methods (#909)
arajasek Dec 5, 2022
37cb754
fix: comments on newly exported methods (#910)
arajasek Dec 5, 2022
b35e0e5
add Hyperspace testnet parameters and build config.
raulk Dec 11, 2022
4f52c6b
Revert "add Hyperspace testnet parameters and build config."
raulk Dec 11, 2022
9fee117
Runtime: Restrict internal API away from EVM actors
arajasek Dec 11, 2022
a796fe8
EVM reverts when logging in static mode (#938)
vyzo Dec 12, 2022
e6458c6
fix: decode revert data (#935)
Stebalien Dec 12, 2022
9d02326
Miner: Export method to GetPendingOwner
arajasek Dec 8, 2022
8d2d9d5
EVM: Dont revert on invalid call to exthash (#921)
mriise Dec 12, 2022
1358db5
Merge branch 'integration/builtin-api' into asr/merge-try
arajasek Dec 13, 2022
f40fa42
Add test case for extcodehash (#941)
mriise Dec 13, 2022
4c1c251
MarketNotifyDeal (#944)
ZenGround0 Dec 13, 2022
16a5875
Create the Externally Owned Address actor
arajasek Dec 11, 2022
90d0c0c
Consolidate Init actor address mapping code (#950)
anorth Dec 14, 2022
eb3fc0d
Replace `DIFFICULTY` with `PREVRANDAO` (#942)
mriise Dec 15, 2022
f24470c
Runtime: Receive ChainID from the FVM
arajasek Dec 12, 2022
4d288f5
fix: reject (f4) actor redeploy after selfdestruct (#952)
Stebalien Dec 15, 2022
6cba788
Fix caller check in EVM/EAM constructors (#949)
anorth Dec 15, 2022
aa9ab6e
Update note on prevrandao (#959)
mriise Dec 15, 2022
0841be4
Verifreg: Call AuthenticateMessage instead of validating siggys
arajasek Dec 15, 2022
0a3b578
Merge branch 'integration/builtin-api' into next
arajasek Dec 17, 2022
e5e1318
Merge branch 'master' into integration/builtin-api
arajasek Dec 17, 2022
19a625b
Merge branch 'integration/builtin-api' into next
arajasek Dec 18, 2022
a501a94
EVM: Re-order address and data size params of call_actor precompile (…
mriise Dec 19, 2022
69a790a
Merge branch 'master' into next
Stebalien Dec 19, 2022
b08de0d
bump ethers (#976)
mriise Dec 19, 2022
24cbacf
EVM: Don't special case ID address range for actor type (#977)
mriise Dec 20, 2022
655b7c1
fix: remove EAM::CreateAccount (#979)
Stebalien Dec 21, 2022
441abe0
update embryo actor to placeholder (#978)
jennijuju Dec 21, 2022
ad141a1
EthAccount: Fixup and clarify comments (#982)
arajasek Dec 21, 2022
393d7da
EAM: Remove InitAccountParams (#984)
arajasek Dec 22, 2022
405bec3
fix: EVM: CALLs to EthAccount should be lowered to bare transfers. (#…
raulk Dec 22, 2022
e1ef665
EVM: Native precompile address `fe` prefix (#981)
mriise Dec 22, 2022
1fa3f34
EVM: Pass original caller through to callee for Delegate Call (#994)
mriise Jan 3, 2023
f2514a5
EVM: Disable get-randomness precompile (#995)
mriise Jan 4, 2023
00d2e10
EVM: Flush state before calling send in Ext opcodes (#993)
mriise Jan 4, 2023
12e271a
EAM: Check addresses for reserved range of native precompile (#997)
mriise Jan 4, 2023
3b31742
EVM: Check that precompile address index is within bounds (#996)
mriise Jan 4, 2023
c2182a9
Enable logging with MockRuntime (#985)
mriise Jan 4, 2023
1d62c67
EVM: fix the stack underflow check on swap (#1000)
Stebalien Jan 6, 2023
8473c52
EVM: Fix precompiles to output nothing on error (#998)
mriise Jan 7, 2023
b6bf61c
add Hyperspace testnet parameters and build config.
raulk Dec 11, 2022
93d940b
makefile: fix all-bundles to cover hyperspace & wallaby.
raulk Dec 11, 2022
56339c2
EVM: Allow Null Addresses to convert into f4 Addresses (#1003)
mriise Jan 9, 2023
98815e4
add a bit of logging to mock runtime
mriise Jan 10, 2023
74f36e7
move randomness logs a bit lower down
mriise Jan 10, 2023
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
4 changes: 2 additions & 2 deletions .github/actions/rust-cargo-run/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ inputs:
cache_name:
description: The name of the cache to save/restore
required: true
default: v2-test
default: test

runs:
using: composite
Expand All @@ -41,7 +41,7 @@ runs:
CACHE_SKIP_SAVE: ${{ inputs.save_cache == '' || inputs.save_cache == 'false' }}
with:
version: v0.2.15
shared-key: ${{ inputs.cache_name }} # change this to invalidate sccache for this job
shared-key: v5-${{ inputs.cache_name }} # change this to invalidate sccache for this job
- name: Running ${{ inputs.command }}
uses: actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505 # v1.0.3
env:
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- master
- next
pull_request:

env:
Expand Down Expand Up @@ -43,7 +44,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
network: [ 'mainnet', 'caterpillarnet', 'butterflynet', 'calibrationnet', 'devnet', 'testing', 'testing-fake-proofs' ]
network: [ 'mainnet', 'caterpillarnet', 'butterflynet', 'calibrationnet', 'devnet', 'testing', 'testing-fake-proofs', 'wallaby', 'hyperspace', 'devnet-wasm' ]
steps:
- name: Checking out
uses: actions/checkout@v2
Expand All @@ -57,6 +58,10 @@ jobs:
BUILD_FIL_NETWORK: ${{ matrix.network }}
run: |
cargo run --locked -- -o output/builtin-actors.car
- name: Checking no wasm-bindgen references
run: |
sudo apt-get update && sudo apt-get -y install wabt parallel
find ./target -name '*.wasm' -print0 | parallel -0 --halt now,fail=1 sh -c 'wasm2wat --enable-bulk-memory {} | grep bindgen; test $? -ne 0'
coverage:
runs-on: ubuntu-latest
env:
Expand All @@ -70,7 +75,7 @@ jobs:
command: version
components: llvm-tools-preview
github_token: ${{ secrets.GITHUB_TOKEN }}
cache_name: v3-cov
cache_name: cov
save_cache: true
- name: Put LLVM tools into the PATH
run: echo "${HOME}/.rustup/toolchains/$(cat rust-toolchain)-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin" >> $GITHUB_PATH
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
CACHE_SKIP_SAVE: ${{ matrix.push == '' || matrix.push == 'false' }}
strategy:
matrix:
network: [ 'mainnet', 'caterpillarnet', 'butterflynet', 'calibrationnet', 'devnet', 'testing', 'testing-fake-proofs' ]
network: [ 'mainnet', 'caterpillarnet', 'butterflynet', 'calibrationnet', 'devnet', 'testing', 'testing-fake-proofs', 'wallaby', 'hyperspace', 'devnet-wasm' ]
steps:
- name: Checking out
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ target
*.wasm
.idea/
**/.DS_Store
output/builtin-actors.car
output/*.car
Loading