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

feat(test): unit test external call mock #423

Open
wants to merge 68 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
64cb1ec
add storage guard
qalisander Oct 17, 2024
e2fafe8
comment non erc721 unit test
qalisander Nov 21, 2024
02d3468
++
qalisander Nov 22, 2024
d126f0e
++
qalisander Nov 22, 2024
ef905e5
++
qalisander Nov 22, 2024
7883a64
add ping pong test case
qalisander Nov 22, 2024
f49daf5
add test router
qalisander Nov 22, 2024
1dc7519
add call shim
qalisander Nov 22, 2024
092a370
++
qalisander Nov 22, 2024
e5028fc
add msg::value
qalisander Nov 22, 2024
c03429d
fix deadlock
qalisander Nov 22, 2024
0c5ac77
ping pong works
qalisander Nov 22, 2024
924e72e
++
qalisander Nov 22, 2024
59cc1a2
++
qalisander Nov 22, 2024
110d340
++
qalisander Nov 22, 2024
aa577f2
++
qalisander Nov 22, 2024
01401e8
comment erc721 tests
qalisander Nov 23, 2024
0cd4299
add erc721 receiver test
qalisander Nov 23, 2024
2b944ce
use contract wrapper in motsu params
qalisander Nov 28, 2024
0aaa81e
add msg sender mock
qalisander Nov 28, 2024
b920606
Merge remote-tracking branch 'origin/main' into unit-tests/multiple-c…
qalisander Nov 28, 2024
33454f6
++
qalisander Nov 28, 2024
299ecc4
++
qalisander Nov 29, 2024
acc631f
Merge remote-tracking branch 'origin/main' into unit-tests/multiple-c…
qalisander Dec 2, 2024
4a747f1
comment test not ported test cases
qalisander Dec 2, 2024
73c5792
remove motsu from default members, since we're going to split this li…
qalisander Dec 2, 2024
abfbbb9
have cargo hack just for contracts
qalisander Dec 2, 2024
f4a74c5
++
qalisander Dec 2, 2024
2b688ce
build: bump Stylus SDK and alloy versions
bidzyyys Nov 29, 2024
ddef560
fix: move const value in AccessControl
bidzyyys Nov 29, 2024
1d27f6c
ref: move interfaces to base modules
bidzyyys Dec 2, 2024
c3cc640
ref: fix AccessControl example
bidzyyys Dec 2, 2024
e0e71ba
fix: add missing Vec imports
bidzyyys Dec 2, 2024
b24bcdf
build: use koba with updated alloy
bidzyyys Dec 4, 2024
0f40dc4
build: update E2E crate with new alloy
bidzyyys Dec 3, 2024
3c909bf
ref: extract v as u8 from Signature
bidzyyys Dec 3, 2024
1acaa4c
fix: use proper data type for U96
bidzyyys Dec 3, 2024
fa476f1
fix: benches
bidzyyys Dec 3, 2024
1078a12
fix: constrain storage ints
bidzyyys Dec 4, 2024
a9c3fbe
build: update koba to v0.3.0
bidzyyys Dec 5, 2024
94cb034
remove not used Provider
qalisander Dec 6, 2024
06945d6
add stylus-sdk patch for external calls
qalisander Dec 6, 2024
3a6e6bd
retrieve tx hashes for block timestamp
qalisander Dec 7, 2024
d33bdc3
fix run_check_release test for vesting_wallet
qalisander Dec 7, 2024
a580f98
Merge remote-tracking branch 'origin/main' into build/stylus-v0.7.0-b…
qalisander Dec 7, 2024
eb5cc95
update alloy to 0.8.14
qalisander Dec 9, 2024
378da95
Merge remote-tracking branch 'origin/main' into build/stylus-v0.7.0-b…
qalisander Dec 10, 2024
e7d074f
Merge remote-tracking branch 'origin/main' into build/stylus-v0.7.0-b…
qalisander Dec 11, 2024
c255a90
++
qalisander Dec 11, 2024
f8b7645
import alloc::vec::Vec for permit
qalisander Dec 11, 2024
0f2a246
remove unused code
qalisander Dec 11, 2024
a5d40c1
Merge remote-tracking branch 'origin/main' into unit-tests/multiple-c…
qalisander Dec 11, 2024
843ded7
Merge branch 'build/stylus-v0.7.0-beta.1' into unit-tests/multiple-co…
qalisander Dec 11, 2024
f27aed9
++
qalisander Dec 11, 2024
f0f94ac
++
qalisander Dec 11, 2024
32ad8fd
test ping_pong_works pass with msg::sender()
qalisander Dec 11, 2024
0b31370
remove context msg_sender
qalisander Dec 11, 2024
74b4672
Merge remote-tracking branch 'origin/main' into build/stylus-v0.7.0-b…
qalisander Dec 13, 2024
b6898fc
post merge fix
qalisander Dec 13, 2024
a16de97
++
qalisander Dec 13, 2024
acd843a
++
qalisander Dec 13, 2024
47a3aa3
Merge branch 'build/stylus-v0.7.0-beta.1' into unit-tests/multiple-co…
qalisander Dec 13, 2024
9a84c14
post merge fix
qalisander Dec 13, 2024
ed41209
alloy-primitives 0.8.14 -> 0.8.13
qalisander Dec 18, 2024
780c6ec
++
qalisander Dec 23, 2024
1487ee0
Merge branch 'unit-tests/multiple-contract-deployment-v0.7.0-beta' in…
qalisander Dec 23, 2024
4c3366a
Merge remote-tracking branch 'origin/main' into unit-tests/multiple-c…
qalisander Dec 23, 2024
297b574
patch motsu
qalisander Dec 23, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
# target in this context means one of `--lib`, `--bin`, etc, and not the
# target triple.
- name: Cargo hack
run: cargo hack check --feature-powerset --depth 2 --release --target wasm32-unknown-unknown --skip std --workspace --exclude e2e --exclude basic-example-script --exclude benches
run: cargo hack check --feature-powerset --depth 2 --release --target wasm32-unknown-unknown --skip std --package openzeppelin-stylus
typos:
runs-on: ubuntu-latest
name: ubuntu / stable / typos
Expand Down
Loading
Loading