Commit Graph

12 Commits

Author SHA1 Message Date
Nikita Khateev 43508d999f Fix tanssi on main (#393)
* fix the tanssi build & tests

* fix fmt

* update features for coverage

* cleanup on coverage due runner out of space

* a bit more tests to pass the codecov check

* fix fmt
2024-12-30 14:13:55 +04:00
Amar Singh 9158633607 v3 into main (#390) 2024-12-25 00:20:08 -05:00
Amar Singh 9a0e668deb xcm-simulator tests (#363) 2024-11-26 13:30:00 -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
Ö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
Nikita Khateev 1d429ee3ea fix xcm constants (#268) 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 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
Özgün Özerk dc4f0129f1 Runtime lib restructure (#202)
* impl apis exported

* runtime version test moved to constants

* constants exported

* constant related errors fixed

* pallet configs exported

* xmc_config moved to configs

* types extracted
2024-05-31 20:06:18 +03:00
Özgün Özerk 1bb2e96501 Transition into monorepo (#180)
* evm template integrated

* workflows modified per template

* workflow fixes
2024-05-17 12:00:25 +03:00