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

Target pallet-revive instead of pallet-contracts #2356

Merged
merged 138 commits into from
Jan 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
138 commits
Select commit Hold shift + click to select a range
aba84ba
Remove feature gated code
cmichi Dec 5, 2024
fbf7d10
Migrate code to `pallet-revive`
cmichi Dec 5, 2024
59c14eb
Adding dry run for upload
cmichi Dec 20, 2024
e795e7b
Revert "Adding dry run for upload"
cmichi Dec 20, 2024
c13398b
Increase limit
cmichi Dec 20, 2024
abe1df3
Remove generic `Salt`
cmichi Dec 20, 2024
f9e22d2
Implement new `delegate_call` API
cmichi Dec 20, 2024
ecf8973
Fix CI, upgrade `dylint-link`
cmichi Dec 23, 2024
8fa9efc
Apply linter
cmichi Dec 24, 2024
0544168
Fix copy from slice, deactivate `cargo fmt`
cmichi Dec 24, 2024
82528c9
Update `Cargo.lock`, apply `clippy` fixes
cmichi Dec 25, 2024
dfd8548
Optimize CI
cmichi Dec 26, 2024
aa4de9d
Clean up more disc space
cmichi Dec 26, 2024
8fa56d4
Try to save more disk space
cmichi Dec 26, 2024
ef86f95
Debug CI space issues
cmichi Dec 26, 2024
01f83e1
Fix types for endowent and balance
cmichi Dec 27, 2024
819ed2e
Fix tests and clippy errors
cmichi Dec 27, 2024
478ab61
Debug CI + fix types
cmichi Dec 28, 2024
a042737
Fix linting tests
cmichi Dec 28, 2024
0e68162
Fix CI
cmichi Dec 28, 2024
b0a6911
Fix `erc20` + `trait-erc20`
cmichi Dec 29, 2024
59af51c
Fix `erc721` + `contract-ref`
cmichi Dec 29, 2024
1f5d556
Fix `erc1155`
cmichi Dec 29, 2024
95d0a62
Update to `polkadot-sdk` `b7afe48ed0bfef30836e7ca6359c2d8bb594d16e`
cmichi Dec 29, 2024
330ed54
Fix `dns`
cmichi Dec 29, 2024
85ebeec
Debug CI
cmichi Dec 29, 2024
86a4bfa
Debug CI
cmichi Dec 30, 2024
47fe985
Fix `lazyvec`
cmichi Dec 30, 2024
920469f
Debug CI
cmichi Dec 30, 2024
c4692a2
Debug CI
cmichi Dec 31, 2024
515e366
Fix `cross-contract-calls` partly
cmichi Jan 1, 2025
036edf6
Debug `cross-contract-calls`
cmichi Jan 2, 2025
63b9325
Fix `contract-transfer`
cmichi Jan 2, 2025
fd8a4bf
Debug strange bug
cmichi Jan 2, 2025
80ce835
Add stack bug reproducer
cmichi Jan 3, 2025
6510a40
Make clippy happy
cmichi Jan 3, 2025
613b3cc
Fix types
cmichi Jan 3, 2025
b0d6e77
Fix types
cmichi Jan 3, 2025
7fce51f
Fix `custom-environment`, `multisig`, `contract-terminate`, `contract…
cmichi Jan 3, 2025
48a1c74
Fix more examples
cmichi Jan 3, 2025
b27c1d4
Fix more tests
cmichi Jan 3, 2025
14d95a8
Run tests with `--all`
cmichi Jan 3, 2025
660d774
Debug CI
cmichi Jan 3, 2025
f685c75
Debug CI
cmichi Jan 3, 2025
4e84e22
Debug CI
cmichi Jan 3, 2025
8461315
Debug CI
cmichi Jan 5, 2025
b37ec6b
Debug CI
cmichi Jan 5, 2025
d7627a0
Debug CI
cmichi Jan 5, 2025
7601b71
Debug CI
cmichi Jan 5, 2025
6d2a0d4
Debug CI
cmichi Jan 5, 2025
650be13
Debug CI
cmichi Jan 5, 2025
7aa555d
Debug CI
cmichi Jan 5, 2025
a8e48cd
Fix tests for `lazy` + `delegator`
cmichi Jan 6, 2025
fbd23ee
Debug strange bug
cmichi Jan 6, 2025
86c9ef7
Revert "Debug strange bug"
cmichi Jan 7, 2025
3f2f492
Fix tests
cmichi Jan 7, 2025
5fa22a9
Make `clippy` happy
cmichi Jan 7, 2025
869c632
Fix tests + add debugging output
cmichi Jan 7, 2025
ab140ea
Debug `mapping` test
cmichi Jan 7, 2025
e2a2342
Fix GHA
cmichi Jan 8, 2025
e06857b
Add `unstable` feature
cmichi Jan 8, 2025
30fdcde
Fix GHA
cmichi Jan 8, 2025
8c4f15a
Debug `mapping` tests
cmichi Jan 8, 2025
e918997
Update CI confgi
cmichi Jan 8, 2025
8692832
Fix `mapping` + `events` tests
cmichi Jan 8, 2025
d6c194f
Fix CI config for `mapping`
cmichi Jan 8, 2025
0a1d59d
Add `unstable` feature everywhere
cmichi Jan 8, 2025
89e7f82
Add missing `unstable` feature for integration tests
cmichi Jan 8, 2025
e54e96e
Add `unstable` for `linting`
cmichi Jan 8, 2025
9d95da3
Add `unstable` for `linting`
cmichi Jan 8, 2025
ade39fc
Add `unstable` for `conditional-compilation`
cmichi Jan 8, 2025
f847347
Debug `events`
cmichi Jan 8, 2025
767e722
Add `unstable` for `lang-err` tests
cmichi Jan 8, 2025
b01c89f
Fix `static-buffer` tests
cmichi Jan 9, 2025
b1708d1
Implement todo's
cmichi Jan 9, 2025
128fade
Apply `cargo fmt`
cmichi Jan 9, 2025
96af1f8
Fix spellcheck + zepter
cmichi Jan 9, 2025
af40961
Apply `cargo fmt`
cmichi Jan 9, 2025
18a8952
Fix CI + reenable test
cmichi Jan 9, 2025
ee40275
Apply `clippy` fixes
cmichi Jan 9, 2025
47f87f2
Fix CI
cmichi Jan 9, 2025
5a0b1ee
Apply `cargo fmt`
cmichi Jan 9, 2025
cb661a1
Add failsafe for scripts
cmichi Jan 9, 2025
27fe612
Debug `examples-test-mapping`
cmichi Jan 9, 2025
a731bcf
Debug `examples-test-mapping`
cmichi Jan 9, 2025
3fc5fec
Debug `examples-test-mapping`
cmichi Jan 9, 2025
846f374
Temporarily `nightly-2024-11-28` for `mapping`
cmichi Jan 9, 2025
a3ee01c
Use latest `nightly` for `mapping`
cmichi Jan 9, 2025
fffc5fe
Fix URL
cmichi Jan 9, 2025
f5e2039
Disable `doctest` for `mapping`
cmichi Jan 10, 2025
d995e27
Use self-hosted runner
cmichi Jan 10, 2025
c311581
Fix path for `delegator`
cmichi Jan 10, 2025
d4a2366
Update labels for runner
cmichi Jan 10, 2025
47861e0
Revert "Update labels for runner"
cmichi Jan 10, 2025
3d69db6
Revert "Use self-hosted runner"
cmichi Jan 10, 2025
11e53fe
Add words to dictionary
cmichi Jan 10, 2025
5bc587d
Use self-hosted runner
cmichi Jan 10, 2025
8425081
Update labels for runner
cmichi Jan 10, 2025
b063b6c
Merge remote-tracking branch 'origin/master' into cmichi-remove-wasm-…
cmichi Jan 10, 2025
150f49b
Adapt for instantiation testability
cmichi Jan 10, 2025
4c795eb
Remove `unstable` feature
cmichi Jan 14, 2025
637a21c
Update test fixtures
cmichi Jan 14, 2025
e62b662
Revert running on self-hosted
cmichi Jan 14, 2025
79c311a
Replace `test_instantiate` feature with `test`
cmichi Jan 14, 2025
08a8aa9
Add `e2e_tests` module to `contract-invocation`
cmichi Jan 14, 2025
83faf55
Revert "Replace `test_instantiate` feature with `test`"
cmichi Jan 14, 2025
7aa1f2c
Cleaning up `contract-invocation`
cmichi Jan 14, 2025
1c99815
Add `test_instantiate` to integration tests
cmichi Jan 14, 2025
8b7aae2
Fix CI
cmichi Jan 14, 2025
0f4d4b4
Deduplicate E2E-built contracts
cmichi Jan 14, 2025
2a055f6
Fix CI
cmichi Jan 14, 2025
04d9198
Fix CI
cmichi Jan 14, 2025
064baa8
Fix CI
cmichi Jan 14, 2025
087f887
Update test fixtures, propagate `test_instantiate`
cmichi Jan 14, 2025
d84ff7d
Debug CI
cmichi Jan 15, 2025
20b0ce4
Update test fixtures
cmichi Jan 15, 2025
ca1c90f
Allow `unexpected_cfgs`
cmichi Jan 15, 2025
0aa33bb
Add `allow(unexpected_cfgs)` to ui tests
cmichi Jan 15, 2025
8a662dd
Use `std` instead of `test_instantiate`
cmichi Jan 15, 2025
3ffa67e
Remove `test_instantiate` feature throughout
cmichi Jan 15, 2025
93e5629
Update fixtures
cmichi Jan 15, 2025
299d69c
Fix inner attribute
cmichi Jan 15, 2025
d27b93c
Remove println's
cmichi Jan 15, 2025
f7cc0b5
Fix linting tests
cmichi Jan 15, 2025
72db173
Make `panic` an `unreachable`
cmichi Jan 15, 2025
2a9316e
Get rid of `unreachable_code` errs
cmichi Jan 15, 2025
ac9c201
Update test fixtures
cmichi Jan 15, 2025
6424d77
Fix `contract-invocation`
cmichi Jan 15, 2025
5ec8750
Get rid of `unreachable_code` errs
cmichi Jan 15, 2025
0338ea4
Update values for `contract-invocation` asserts
cmichi Jan 15, 2025
8d79467
Fix `contract-invocation` tests
cmichi Jan 15, 2025
6c1cb4b
Update test fixtures
cmichi Jan 15, 2025
138e992
Fix `own_code_hash`
cmichi Jan 15, 2025
d05ef42
Use `nightly` for measuring contract sizes (ICE)
cmichi Jan 16, 2025
ae62747
Migrate to `U256`
cmichi Jan 16, 2025
81c6407
Revert "Migrate to `U256`"
cmichi Jan 16, 2025
555b654
Code cleanup
cmichi Jan 16, 2025
9e3a1be
Apply `cargo fmt`
cmichi Jan 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .config/cargo_spellcheck.dic
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ KECCAK
L1
L2
Polkadot
PolkaVM
PSP22
RPC
SHA
Expand Down Expand Up @@ -42,6 +43,7 @@ defragmentation
delegatee
delegator
deploy
deployer
dereferencing
deserialize/S
deserialization
Expand Down Expand Up @@ -77,6 +79,7 @@ tuple
type_info
unordered
untyped
upgradeable
v1
v2
v3
Expand Down
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ updates:
- package-ecosystem: "cargo"
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
# ignore Substrate pallets major updates.
# automated Substrate releases cause dependabot PR spam, so these must be updated manually when required.
ignore:
Expand Down
3 changes: 1 addition & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
## Summary
Closes #_
- [ ] y/n | Does it introduce breaking changes?
- [ ] y/n | Is it dependent on the specific version of `cargo-contract` or `pallet-contracts`?
- [ ] y/n | Is it dependent on a specific version of `cargo-contract` or `pallet-revive`?
<!--- Provide a general summary of your changes -->

## Description
<!--- Describe your changes in detail -->

## Checklist before requesting a review
- [ ] My code follows the style guidelines of this project
- [ ] I have added an entry to `CHANGELOG.md`
- [ ] I have commented on my code, particularly in hard-to-understand areas
- [ ] I have added tests that prove my fix is effective or that my feature works
Expand Down
26 changes: 26 additions & 0 deletions .github/riscv64emac-unknown-none-polkavm.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"arch": "riscv64",
"cpu": "generic-rv64",
"crt-objects-fallback": "false",
"data-layout": "e-m:e-p:64:64-i64:64-i128:128-n32:64-S64",
"eh-frame-header": false,
"emit-debug-gdb-scripts": false,
"features": "+e,+m,+a,+c,+auipc-addi-fusion,+ld-add-fusion,+lui-addi-fusion,+xtheadcondmov",
"linker": "rust-lld",
"linker-flavor": "ld.lld",
"llvm-abiname": "lp64e",
"llvm-target": "riscv64",
"max-atomic-width": 64,
"panic-strategy": "abort",
"relocation-model": "pie",
"target-pointer-width": "64",
"singlethread": true,
"pre-link-args": {
"ld": [
"--emit-relocs",
"--unique",
"--relocatable"
]
},
"env": "polkavm"
}
Loading
Loading