-
Notifications
You must be signed in to change notification settings - Fork 5
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
TRN-808 Sylo Data Pallet #917
Open
JCSanPedro
wants to merge
20
commits into
main
Choose a base branch
from
TRN-808-sylo-pallet
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
91b30bc
create cargo package for new sylo pallet
JCSanPedro 5a7b675
implement pallet functionality for registering resolvers
JCSanPedro c1c16a7
implement tests for registering resolvers
JCSanPedro d1ef366
implement functionality for record validation
JCSanPedro 9e781ef
implement tests for creating validation records
JCSanPedro 2b58555
setup benchmarking for sylo pallet
JCSanPedro c65bf9d
implement remaning sylo extrinsic benchmarks
JCSanPedro 24cf65b
modify on charge tx to force sylo fee swap for sylo pallet extrinsics
JCSanPedro 42d44fa
use a storage value for reserved sylo resolver method
JCSanPedro c5a30eb
fix mock in fee-control tests
JCSanPedro cb35ca0
add more comments to config
JCSanPedro 744a8b5
fix tests compiling
JCSanPedro 0abe851
implement integration tests for sylo pallet fees
JCSanPedro 5b6abc1
resize constants for sylo config
JCSanPedro 8c8ac52
use EnsureOrigin and emit event on state change
JCSanPedro d09e6be
avoid unnecessary clones in sylo pallet
JCSanPedro 42246f2
ensure strings have upper bound in benchmark and add verification
JCSanPedro 0fbda1f
refactor tests
JCSanPedro 36b1522
fix benchmark verification
JCSanPedro 3cf92d5
Update benchmarks for pallet-sylo on TRN-808-sylo-pallet
actions-user File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,7 @@ pallet-evm = { workspace = true } | |
pallet-assets-ext = { workspace = true } | ||
pallet-dex = { workspace = true } | ||
pallet-futurepass = { workspace = true } | ||
pallet-sylo = { workspace = true } | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. may need an entry in the |
||
pallet-transaction-payment = { workspace = true } | ||
precompile-utils = { workspace = true } | ||
|
||
|
@@ -45,6 +46,7 @@ std = [ | |
"pallet-assets-ext/std", | ||
"pallet-futurepass/std", | ||
"pallet-evm/std", | ||
"pallet-sylo/std", | ||
"pallet-transaction-payment/std", | ||
"scale-info/std", | ||
"seed-primitives/std", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
[package] | ||
name = "pallet-sylo" | ||
version = "0.0.1" | ||
description = "Root Network Sylo Pallet" | ||
authors.workspace = true | ||
edition.workspace = true | ||
license.workspace = true | ||
repository.workspace = true | ||
|
||
[dependencies] | ||
hex = { workspace = true } | ||
serde = { workspace = true } | ||
scale-info = { workspace = true } | ||
codec = { workspace = true } | ||
|
||
frame-support = { workspace = true } | ||
frame-system = { workspace = true } | ||
frame-benchmarking = { workspace = true, optional = true } | ||
sp-core = { workspace = true } | ||
sp-io = { workspace = true } | ||
sp-runtime = { workspace = true } | ||
sp-arithmetic = { workspace = true } | ||
sp-std = { workspace = true } | ||
|
||
seed-primitives = { workspace = true } | ||
seed-pallet-common = { workspace = true } | ||
|
||
[dev-dependencies] | ||
sp-io = { workspace = true } | ||
pallet-assets = { workspace = true } | ||
pallet-balances = { workspace = true } | ||
pallet-assets-ext = { workspace = true, default-features = true } | ||
|
||
[features] | ||
default = ["std"] | ||
std = [ | ||
"codec/std", | ||
"sp-runtime/std", | ||
"frame-support/std", | ||
"frame-system/std", | ||
"sp-std/std", | ||
"seed-primitives/std", | ||
"seed-pallet-common/std", | ||
"sp-io/std", | ||
"frame-benchmarking?/std" | ||
] | ||
runtime-benchmarks = ["frame-benchmarking"] | ||
try-runtime = ["frame-support/try-runtime"] |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice; thanks for this