Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add new instance of pallet-assets * start building allowance for local asset creation * Local Asset creator implementation * Add local asset transactor * Add local asset * Add dual support in moonbase * Add tests for proving both representations are handled * Typescript tests for reanchoring * Cleaning and documenting * More docu * fix docu of teleports * EditorConfig * more editorconfig * Add selfreserve cross chain possibility to moonriver * Fix compilation error after cleanup * Add MOVR cross chain transferring to moonriver * clean more * Adapt to new schema with local and foreign assets * wip * Add small test * wip working with assetId as nonce+account * wip test asset * Re-use same precompiles for foreign and local assets but prevent someone from calling non-local methods for foreign assets * Mint test * check balance too * All functions written * Test every single precompile func * First typescript tests working * Keep adding tests that work * First test suite ready * more and more tests * Local assets final typescript tests * Adapt to prefixes and fill moonriver too * Add back foreign assets tests * unused import * Remove hash dependency * Make moonbeam compile * Adapt xcm tests and integration tests in moonbase * Tests and removal of is_sufficient for local assets * Add couple of tests receiving local assets * fmt and asset-manager unitests * Fix also asset precompile tests * Fix all unitests for moonbeam and moonriver runtimeS * Modify moonriver tests * Use extrinsic index and parent hash to calculate asset id * remove unused var * Prettier * Make benchmark compile * Fix tests * Remove unwraps and update comment * Comments * Remove it.only * Remove authorization once registered * Benchmark authorize local asset creation * Creation of local asset benchmarks * Benchmarked new instructions * Use new function maybe_total_supply * Update typescript tests * Improve comments * uncomment evm * More doc * Fix benchmarking * prettier * currency::MOVR * Fix typo in LocalAssetCreationAuthorization * Fix typo in authorize_local_assset * Fix typo * Leave weight of register_foreign_asset equal * Fix conflicts * Benchmark compile * Editorconfig * Editorconfig sources.ts * Editorconfig mock hrmp * Editorconfig test precompile local assets * Moonbase: add more integration tests * Moonriver: more tests * More tests * Fix test glmr cannot be sent through xcm * FMT * Clean and fix typescript tests * start usign the local counter! * Change runtime and tests * Update typescript * Update typescript test * Start * More version bumps * Bump toolchain version * Incremental progress * Start working on this * Make things a bit cleaner and include the evm removal * Further check in assets * Fix integration tests * FMT * Unitest the new destroy asset * editorconfig * Test asset manager prettier * FMT * Better doc * Doc better runtime parameters * fmt and editorconfig * change asset account deposit * Merge left overs from destroy asset * Prevent local assets from calling destroy directly * Default unimplemented for trait, making moonbeam runtime a bit cleaner * Add test destroy local asset * Create local asset to asset-manager typescript test * Use v0.9.18 branches * Update Cargo.lock * Update ethereum crate to 0.12 * Integration test for asset destroy local * More updated doc * More cleanup: use ConstBool from substrate * change rocksdb weight for the proper associated type in frame system * Update Cargo.lock * Update nimbus * Update Cargo.lock * Bump ORML * Import Reserve from xcm_primitives instead of orml_traits * Bump crowdloan-rewards * Remove u32_trait * Minimal orml_xtokens config * Update Cargo.lock * Remove creator from creation of local asset id * FMT * Comment why we dont need to store additioanl info in the case of local assets * add copy for destroy witness associated type * Add weight annotation explanation * FMT * Add comment on why we prevent calling destroy * More comments related to old reanchoring * Add IsLocal and IsFOreign types * asset config for moonbase * Separate asset config for moonriver * Separate asset config in moonbeam runtime * Increase deposits for local assets * Remove ExecutiveBody * ERC20 local extended interface * Import parameter_types again * Remove unused xcm dep * Fix integration tests * Creation deposit of 0 to run bechmark * Update weights and value of deposit used for benchmark * Update error in weights * Correct fixing this time * Add build_inprocess_relay_chain fn * Update Cargo.lock * Bump scale-info (again) * Use build_inprocess_relay_chain * Fix typo * Use blank CollatorOptions in StartFulLNodeParams * Bump nimbus to 46c43d8 * Bump nimbus to d68bf7 * Add sync params to MappingSyncWorker * Incremental work to make tests build * Add orml-traits crate for tests * Explicit integer types * Comment out xtokens tests for now * Add some WeightInfo, remove some WeightInfo * More mock fixes * Remove TransactionStorageMode * Reflect EthBlockDataCacheTask changes in Frontier and plumb prometheus_registry * Restore pallet_evm WeightInfo in mocks * Update Cargo.lock * Bump frontier from 3e9d2b8 c65ff27 * Use purestake evm branch moonbeam-polkadot-v0.9.18 * Updates to use custom evm branch * Put reserve stuff in asset-manager * Start adapting runtimes to new sufficient local asset design * Adapt moonriver too * adapt all runtimes and tests * Asset as sufficients in typescript tests * Fix benchmark * Fix unitests * Add more comments * Assetinfo tests * FMT * Editorconfig * Update weights * Add back wrongly removed Statemine test * Use built-in xcmp_queue weights * Remove unused dependency * Point to fixed frontier version with-code evm * Add orml-traits again but without default-features * Fix xtokens precompiles tests * More graceful error plus removal of unused imports * Chop long line * Move write to inside branch * Toml sort * Assert ts test storage with deposit * cargo fmt * Clippy suggestions * Optimize other extrinsic too * Bump polkadot from 721282d to f0dc95a * Construct staking GenesisConfig without recursion * Another clippy suggestion * Add reads and writes from benchmarking to register-local-asset * Add comments to address PR reviews * Change hasher of LocalAssetDeposit * Remove duplicate definition * Comment about reverting in EVM code remove * Add better test description * Test asset manager Co-authored-by: Stephen Shelton <[email protected]>
- Loading branch information