HydraDX-node
HydraDX-node copied to clipboard
HydraDX node - cross-chain liquidity protocol built on Substrate
currently the EVM permit is separately implemented in the precompile and extrinsic. the extrinsic should just call precompile instead to validate and dispatch the permit
We added some evm functionality into the multi payment pallet. However, this is now harder to ingrate into other runtimes where there is no evm - specifically Basilisk. I suggest...
Let's test the pallet scheduler with normal origin. Use chopsticks to test - Check the fee is correctly paid - If the weights and configs are safe (try to overweight...
As we are now using router and oracles for transaction fee payments and have insufficient assets, we no longer need fallback price since it would mean we could pay ED...
In router sell and buy the user needs to specify the trades of the route: https://github.com/galacticcouncil/HydraDX-node/blob/8abf856afa839b798c4e39e38af2b2901f55739b/pallets/route-executor/src/lib.rs#L187 This contains duplicated data as the asset out is always the next trade asset...
https://github.com/galacticcouncil/HydraDX-node/blob/ac9335f517f4919fb296b432ad0f6385f22d6a43/math/src/omnipool/math.rs#L457 Calculation is wrong, correct calculation is specified here, along with correct way to test: https://www.notion.so/hydradx/Fixing-calculate_cap_difference-4d6bf0a1df074d9e8fe4dbbf2d0458b8 If the function is only used in UI, it may be moved to SDK.
Add missing insufficient fee asset support for EVM transactions/ Since for EVM, we use dispatch permit, that logic needed to be adjusted. - [ ] increase the cost of dispatch...
## Description Add a bootnode for hydration ## Related Issue ## Motivation and Context This is to increase the resilience of the network ## How Has This Been Tested? This...