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

refactor: generic extension #218

Merged
merged 56 commits into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from 55 commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
53dfad4
refactor: generic extension
evilrobot-01 Aug 18, 2024
a236e27
refactor: builder to decoder
evilrobot-01 Aug 19, 2024
4d24a58
refactor: improve api
evilrobot-01 Aug 19, 2024
e45e5c3
refactor: readable
evilrobot-01 Aug 19, 2024
2778ab2
refactor: improve matching
evilrobot-01 Aug 19, 2024
91e6538
refactor: porting logging and comments
evilrobot-01 Aug 20, 2024
44e6d79
refactor: relocate pop-api specifics to api pallet
evilrobot-01 Aug 20, 2024
8ef91e7
refactor: address clippy warnings
evilrobot-01 Aug 20, 2024
8db9170
refactor: replace extension
evilrobot-01 Aug 20, 2024
75a76e4
fix: align with existing encoding convention
evilrobot-01 Aug 20, 2024
94fb91e
refactor: improve logging
evilrobot-01 Aug 20, 2024
f24cb82
refactor: improve matching api
evilrobot-01 Aug 20, 2024
c273dec
refactor: error conversion
evilrobot-01 Aug 20, 2024
3a86ab6
refactor: remove irrelevant comments
evilrobot-01 Aug 20, 2024
3f6ccf8
fix: type resolution and dependencies
evilrobot-01 Aug 20, 2024
2028464
fix: missing import
evilrobot-01 Aug 20, 2024
d3143b8
refactor: error handling
evilrobot-01 Aug 21, 2024
fb41f25
build(deps): restore dev dependency
evilrobot-01 Aug 21, 2024
2de03e7
fix: standardise on decoding failed error
evilrobot-01 Aug 21, 2024
1214fa8
refactor: separate versioning
evilrobot-01 Aug 21, 2024
0818844
refactor: reuse decoding failed error
evilrobot-01 Aug 21, 2024
a76bdc7
fix: import
evilrobot-01 Aug 21, 2024
636e82d
refactor: collapse module
evilrobot-01 Aug 21, 2024
ee51a52
refactor: support read result versioning
evilrobot-01 Aug 22, 2024
157ce0b
fix: resolve type clash
evilrobot-01 Aug 22, 2024
d678828
fix: update import
evilrobot-01 Aug 22, 2024
c0bdefd
docs: add comment documenting function tuple implementation
evilrobot-01 Aug 23, 2024
b522cd8
refactor: use constant for encoded decodingfailed error
evilrobot-01 Aug 23, 2024
1b571b6
refactor: remove unnecessary .into()
evilrobot-01 Aug 23, 2024
9dab778
refactor: deprecate schedule
evilrobot-01 Aug 23, 2024
366fefa
refactor: remove unnecessary mutable bindings
evilrobot-01 Aug 23, 2024
8c089c0
refactor: extract functions for determining func_id, version, module …
evilrobot-01 Aug 23, 2024
7b416ac
test: add logging of contract execution result
evilrobot-01 Aug 23, 2024
c668933
refactor: use contracts weights as host functions weights removed fro…
evilrobot-01 Aug 23, 2024
cd56c91
refactor: default decoding processor
evilrobot-01 Aug 24, 2024
203ae16
refactor: reorder function generic parameters so function identificat…
evilrobot-01 Aug 24, 2024
f37f8ed
refactor: group encoding tests
evilrobot-01 Aug 24, 2024
a19fa2f
refactor: improve logging
evilrobot-01 Aug 24, 2024
a3598d8
refactor: enable u32 function specification
evilrobot-01 Aug 25, 2024
1bf7118
refactor: wrap environment
evilrobot-01 Aug 25, 2024
40eb94a
refactor: resolve type
evilrobot-01 Aug 26, 2024
c8e37cd
refactor: wrap ext
evilrobot-01 Aug 26, 2024
2169e74
test: wip
evilrobot-01 Aug 26, 2024
2e31483
refactor: move error conversion to function definition for greater co…
evilrobot-01 Aug 26, 2024
037d0fe
test: auto-build proxy contract
evilrobot-01 Aug 26, 2024
2b052ca
feat: mock environment
evilrobot-01 Aug 26, 2024
f998bb7
chore: update cargo.lock after rebase
evilrobot-01 Aug 26, 2024
42bd38d
test: add extension unit tests
evilrobot-01 Aug 26, 2024
57dd33d
test: remove redundant tests
evilrobot-01 Aug 26, 2024
6b6df35
fix: type resolution
evilrobot-01 Aug 26, 2024
7a20bb7
fix: api tests (#236)
chungquantin Aug 27, 2024
39f16e1
test: generic extension unit testing (#240)
chungquantin Sep 5, 2024
c1180c1
refactor: relocate constant
evilrobot-01 Sep 5, 2024
4be4d14
feat: include runtime base call filter in extension call filter (#264)
evilrobot-01 Sep 6, 2024
f0a0a51
Merge remote-tracking branch 'origin/frank/extension' into frank/exte…
evilrobot-01 Sep 6, 2024
848b4c3
refactor: constrain environment associated type bounds to ease mockin…
evilrobot-01 Sep 6, 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
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: ci

on:
push:
branches: [main]
branches: [ main ]
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
types: [ opened, synchronize, reopened, ready_for_review ]

jobs:
lint:
Expand All @@ -13,7 +13,9 @@ jobs:
- uses: actions/checkout@v4

- name: Check formatting
run: cargo +stable fmt --all -- --check
run: |
rustup toolchain install nightly --profile minimal --component rustfmt
cargo +nightly fmt --all -- --check

check:
needs: lint
Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@
.idea

# Binaries
**/bin/
**/bin/

# Cargo.lock
**/Cargo.lock
Loading
Loading