Commit Graph

199 Commits

Author SHA1 Message Date
Amar Singh 8666cb50c1 Pallet Abstractions Docs (#366) 2024-11-26 13:27:24 -05:00
Amar Singh bdc9af1942 Fix tests (#358)
* update evm template tests

* update generic runtime constant tests

* avoid workflows cancelling each other

---------

Co-authored-by: Gustavo Gonzalez <gustavo.gonzalez@openzeppelin.com>
2024-11-05 09:13:04 -05:00
Nikita Khateev 696a67e0aa Reference for macros usage (#354)
* Reference for macro usage

update build, fix fmt and tomls

fixed Erc20XcmBridge, updated deps

toml sort &fmt

* fix import

* fix sort

* comment out tests

* fix fmt

* fix constant tests
2024-11-04 20:52:21 +04:00
Amar Singh 8e0feecc14 Pallet grouping macros (#300)
* init using relative paths for now

* not working

* cannot define same types with alias names in 2 places relalias todo

* node compiles using impl oz system to abstract over frame system

* clean

* timestamp

* parachain info

* preimage and scheduler

* proxy and balances

* utility and parachain system

* use construct openzeppelin runtime

* generic runtime apis

* pause construct runtime until other macros validated by cross template usage

* hold runtime construction until inner macros validated

* evm template impl openzeppelin system

* revert back to generic construct runtime minimal wrapper for now

* use the trivial versions for the construct runtime and impl runtime api macros for now

* fix system grouping macro name

* consensus wrapper in generic template

* include ExistentialDeposit as explicit system parameter and add asset grouping for generic

* wip governance

* wip governnace for generic

* rm placeholders for runtime api and construct runtime until implemented

* fix evm template after latest changes to system grouping

* whitelist

* custom origins and referenda to finish governance grouping in generic template

* init xcm grouping for generic template queue pallets first

* more xcm

* replace direct paths with git url and branch for the macro dep

* update cargo locks and template fuzzer paths used for constants

* use consensus macro for evm template

* fix path in generic templates constant tests

* fix more test imports for the generic template

* fix template fuzzer build for generic template

* evm template governance and clean generic governance config as well

* impl xcm for evm template compiles w unused imports

* clean evm template commented out code and init assets impl for evm template

* progress on using impl assets for evm template

* error persists despite moving from impls into scope of macro expansion

* fix imports to fix errors for assets impl for evm template

* init evm works

* generic runtime compiles with most recent changeset

* update to latest macro changes

* move asset manager config into macro expansion as much as possible

* fix and clean

* update package name use git url and rename marker struct to OpenZeppelinRuntime

* compiles

* batch merge comment suggestions

* expose ProxyType and move defn from macro expansion to types file for each runtime

* generic single file config and minimal type aliases

* single file evm config need to clean imports and minimize type aliasing next

* clean evm template

* evm compilation post macro updates

* clean evm runtimes

* clean generic

* toml sort

* fix

* fmt fixes, supported the last changes

---------

Co-authored-by: Nikita Khateev <nikita.khateev@openzeppelin.com>
2024-11-04 09:59:47 -04:00
Nikita Khateev 2515d4ea2a Benchmarks update for release (#355)
* benchmarks update

* Updated benchmarks

* fex benchmarks
2024-11-04 16:36:16 +04:00
Amar Singh 62f2cd2913 xcm-transactor on generic (#346) 2024-10-31 13:34:42 -04:00
Amar Singh 8b56b2990e xcm-transactor on evm (#345) 2024-10-31 09:04:01 -04:00
Ozgun Ozerk 10bf20f9ec fmt fix 2024-10-31 11:04:58 +03:00
Özgün Özerk a7d968b934 xtokens on generic (#343)
* generic xtokens support

---------

Co-authored-by: Nikita Khateev <nikita.khateev@openzeppelin.com>
2024-10-31 10:38:32 +03:00
Özgün Özerk c43aa9591b xtokens config (#331)
* added trader

* loosing the logic for bridged assets

* simplify logic

* better inline docs

* match against all X1, X2, etc. variants

* simplify the xcm config

---------

Co-authored-by: Alistair Singh <alistair.singh7@gmail.com>
2024-10-30 09:16:43 +03:00
Amar Singh 3df636d524 Implement CheckedMetadataHashExtension (#211) 2024-10-28 13:59:30 -04:00
Özgün Özerk 46a9a3f4e8 Generic asset manager (#341)
Co-authored-by: Nikita Khateev <nikita.khateev@gmail.com>
2024-10-25 13:27:39 +03:00
Özgün Özerk 033cf12f34 merge changes/fixes from v2 back into main (#333)
* update version for antora

* improving zombienet guide (#280)

* update docs version to 2.0.1 (#315)

* Change all references from rococo to paseo (#330)

* remove rococo-native featire from cargo.toml and other doc changes

* use evm compatible accounts, and fix properties for chain spec (#326)

* doc changes

* bump node and docs versions

* impl_runtime_apis need to be in the same file with construct runtime for the moment

* account type fix

* zombienet script update

* slot duration fix

---------

Co-authored-by: Nikita Khateev <nikita.khateev@gmail.com>
Co-authored-by: Özgün Özerk <ozgunozerk.elo@gmail.com>
Co-authored-by: Gustavo Gonzalez <gustavo.gonzalez@openzeppelin.com>

---------
2024-10-24 09:36:38 +03:00
Özgün Özerk d074bd97e9 use asset hub as reserve (#327)
* implemented asset hub as reserve
2024-10-21 07:59:22 +03:00
Nikita Khateev 7d383119a3 #305 Fixing unexpectedly high weights for XCM pallet (#322) 2024-10-08 16:36:54 +04:00
Özgün Özerk 6953c33181 Use construct runtime v2 (#312)
* construct runtime macro updated to v2
2024-10-07 20:45:49 +03:00
Nikita Khateev 740419f181 Fix AFL build for fuzzing run (#323)
* fix fuzzer run

* add manual dispatch
2024-10-04 16:02:40 +04:00
Nikita Khateev dbf3576f51 Fix workflow versions (#317) 2024-09-20 13:05:42 +04:00
Özgün Özerk a21d0e3648 Upgrade to polkadot-stable2407-1 from v1.13.0 (#299)
* generic template updated to stable2407-1

* evm template update wip

* evm template update finalized

* fuzzers finalized

* rebased onto v1.13.0
2024-09-17 13:45:11 +03:00
Özgün Özerk ba730fab22 Upgrade polkadot sdk v1.13.0 (#298)
* generic template updated to v1.13.0

* evm dependency upgrades

* evm dependency upgrades after moonbeam

* importing frontier updates 

* upgrade fuzzer to v1.11.0 

* upgrade fuzzer to v1.12.0

* generic template fuzzer updated

* evm fuzzer

---------

Co-authored-by: Nikita Khateev <nikita.khateev@openzeppelin.com>
2024-09-13 12:18:35 +03:00
Nikita Khateev a4b7acf9bd fix weekly run (#310) 2024-09-13 13:15:51 +04:00
Gustavo Gonzalez a4c6cee4c6 Fix typos and add GH action that checks them (#311)
* add typos workflow

* fix existing typos

* fix
2024-09-12 09:05:48 -04:00
Gustavo Gonzalez 42470b2784 add needs triage issue label for new issues (#304) 2024-09-03 20:55:09 -04:00
Özgün Özerk bb1051fb3c disable code coverage for now (#297)
* disable code coverage for now
2024-08-21 10:21:57 +03:00
Özgün Özerk 642f05b231 fix zombienet scripts for accountid20 compatibility (#292) 2024-08-21 09:54:29 +03:00
Alex Bean ab82cb37a9 fix: rename templates binaries in the zombienet files (#290)
* fix: rename templates binaries in the zombienet files

* fix: add force_decorator = generic-evm in the config file

* fix: rename templates binaries in the config file for generic template
2024-08-21 09:53:54 +03:00
Nikita Khateev 625714b97e Fix broken CI (#283) 2024-08-19 10:33:02 +04:00
Gustavo Gonzalez 9e69aece59 add dependabot config (#279) 2024-08-15 16:15:54 -04:00
Gustavo Gonzalez 0943e17bf1 update readme, fix broken link in docs (#281) 2024-08-15 16:15:44 -04:00
Özgün Özerk caa61ec9e5 fix typos in testing with zombienet guide (#276)
* fix typos in testing with zombienet guide
2024-08-15 18:47:23 +03:00
Nikita Khateev c36a6011eb Fuzz Testing Integration (#275) 2024-08-13 16:19:55 +04:00
Nikita Khateev bac8e41436 Add benchmark tests to CI (#243)
* add concurrency settings to the pipeline

add comments

* update message

update locks

---------

Co-authored-by: Gustavo Gonzalez <gustavo.gonzalez@openzeppelin.com>
2024-08-13 15:00:07 +04:00
Özgün Özerk 8bbf680c05 add new audit (#272) 2024-08-07 11:41:55 -04:00
Özgün Özerk 249d91dc70 Bump versions (#271)
* bump versions

* bumping docs version -it was already 1.0.0 but we forgot to merge it back to main-
2024-08-07 11:41:55 -04:00
Nikita Khateev ba3647d171 Fix txpool feature for EVM template (#270)
* correct txpool feature

* fix toml
2024-08-07 11:41:55 -04:00
Nikita Khateev 1d429ee3ea fix xcm constants (#268) 2024-08-07 11:41:55 -04:00
Amar Singh 88accf616e HRMP Channel Guide (#214)
* init

* clean

* add minimal handler docs

* connect to asset hub section

* progress but not done

* start snowbridge calls

* snowbridge docs

* hydraDX documentation to demonstrate steps from the more general hrmp section at the tope

* Add the option to sync faster with Rococo to the docs (#249)

* add sync fast-unsafe for Rococo

* fix spelling

* add descriptions for datadir path and rococo chainspec

* Fix MaxLockers (#248)

* Fix MaxLockers

* fix constants

* fix toolchains

---------

Co-authored-by: Özgün Özerk <ozgunozerk.elo@gmail.com>

* fix list bullet formatting

* accept all suggestions by @ozgunozerk

---------

Co-authored-by: Gustavo Gonzalez <ggonzalezsomer@gmail.com>
Co-authored-by: Nikita Khateev <nikita.khateev@openzeppelin.com>
Co-authored-by: Özgün Özerk <ozgunozerk.elo@gmail.com>
2024-08-07 11:41:55 -04:00
Özgün Özerk 9b9845920c Update docs (#261)
* typos and broken links

* evm runtime docs

* name change in code

* generic runtime description updated, and typos

* smart contract with zombienet

* quick start exported into another document and further formatting
2024-08-07 11:41:55 -04:00
Nikita Khateev 1b67c98311 Docs Update (#250)
* Updating the docs

* fix fmt

* suggestion

---------

Co-authored-by: Özgün Özerk <ozgunozerk.elo@gmail.com>
2024-08-07 11:41:55 -04:00
Nikita Khateev 526adb32c5 Bound GasLimitPovRatio to u64::MAX (#246)
* Bound GasLimitPovRatio to u64::MAX

* minor changes
2024-08-07 11:41:55 -04:00
Nikita Khateev 5e61a2d8a6 Fix for treasury config and benchmark (#240)
* Fix treasury config

* fix build

* Updated benchmarks

* fix generic fmt

* fix clippy

* fix comments

---------

Co-authored-by: Amar Singh <asinghchrony@protonmail.com>
2024-08-07 11:41:55 -04:00
Nikita Khateev cdba7fea87 RPC Differences Documentation and RPC Testing Toolkit (#241)
* Added RPC testing toolkit with docs

* Add documentation

* fix comments

---------

Co-authored-by: Amar Singh <asinghchrony@protonmail.com>
2024-08-07 11:41:55 -04:00
Özgün Özerk 29c6332022 Feemanager for evm (#239) 2024-08-07 11:41:55 -04:00
Gustavo Gonzalez d14851cc47 Add sccache and use nextest in our workflow (#265)
* add cache to generic workflow

* add cache to evm workflow

* clean cache and use nextest

* try increasing the cache size

* try 50gb cache size

* add explicit rstfmt as a dependency
2024-07-30 17:15:14 -04:00
Nikita Khateev 592c3b694d Fix MaxLockers (#248)
* Fix MaxLockers

* fix constants

* fix toolchains

---------

Co-authored-by: Özgün Özerk <ozgunozerk.elo@gmail.com>
2024-07-23 15:24:52 +03:00
Gustavo Gonzalez 02b6611ec2 Add the option to sync faster with Rococo to the docs (#249)
* add sync fast-unsafe for Rococo

* fix spelling

* add descriptions for datadir path and rococo chainspec
2024-07-19 06:27:43 -04:00
Nikita Khateev be0abb6bf1 #235 Updated benchmarks for the next release (#238)
Added benchmarking for EVM template.
Updated benchmarking for Generic Templates.
Fixed config for EVM template.
Added benchmarking utils.
2024-06-28 15:49:02 +04:00
Özgün Özerk 3c9696b982 Port the trivial audit fixes to evm (#236)
* port the trivial audit fixes to evm

* MAX_POV_SIZE is imported instead of declaring
2024-06-27 20:22:50 +03:00
Amar Singh b0c0a81219 [evm-template] XCM config for foreign assets (#219) 2024-06-18 11:42:17 -04:00
Özgün Özerk b2b65e9364 Add pov reclaim (#229)
* extend SignedExtra type
2024-06-13 18:09:42 +03:00