Skip to content
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

Change fee to small fee for vesting #1304

Merged
merged 4 commits into from
Dec 18, 2024
Merged

Conversation

ZlayaMorda
Copy link
Contributor

each claim counts as SMALL_FEE
vested_transfer default fee is SMALL_FEE
logic for vested_transfer fee calculation is the same

It is necessary to reduce the cost

runtime/src/xor_fee_impls.rs Outdated Show resolved Hide resolved
@ZlayaMorda ZlayaMorda merged commit 472f9da into master Dec 18, 2024
6 checks passed
@ZlayaMorda ZlayaMorda deleted the change-vested-transfer-fee branch December 18, 2024 12:34
CvijanCBS pushed a commit that referenced this pull request Jan 24, 2025
* change fee to small fee for vesting
vovac12 added a commit that referenced this pull request Jan 24, 2025
* feat: setting up collateral factor and implementing it in borrow and add_collateral extrinsic

* Presto: publish Crop Receipt (#1294)

Signed-off-by: Mikhail Tagirov <[email protected]>

* Presto: fix strings (#1296)

Signed-off-by: Mikhail Tagirov <[email protected]>

* cover with wip new fee events (#1297)

* Presto: fix USA name (#1298)

Signed-off-by: Mikhail Tagirov <[email protected]>

* Prepare release 4.5.2 (#1299)

Co-authored-by: Mikhail Tagirov <[email protected]>

* Presto: benchmarks (#1300)

* benchmarks

Signed-off-by: Mikhail Tagirov <[email protected]>

* weights

Signed-off-by: Mikhail Tagirov <[email protected]>

---------

Signed-off-by: Mikhail Tagirov <[email protected]>

* fix: adjusting the default value for the collateral factor

* Presto: minor fix flag

Signed-off-by: Mikhail Tagirov <[email protected]>

* Change fee to small fee for vesting (#1304)

* change fee to small fee for vesting

* Random xor-fee remint (#1305)

* Random xor-fee remint

* Add benchmark

* Fix clippy

* Fix review issues

* Prepare release 4.5.3 (#1306)

* Prepare release 4.5.3

* Update Cargo.lock

* Benchmark results of benchmarking-4.5.3 from master (#1308)

* Fix benchmarking

* benchmarking results

Signed-off-by: sorabot <[email protected]>

* Fix benchmarks

* Fix xor-fee and demeter benchmarks

* Fix remint without wip

* benchmarking results

Signed-off-by: sorabot <[email protected]>

---------

Signed-off-by: sorabot <[email protected]>
Co-authored-by: Vladimir Stepanenko <[email protected]>

* 1171 xorless fee part 2 (#1290)

* add check for depth

* change assets in migration

* compute fee for order book and vested transfer

* update Carrgo.lock

* add set referrer

---------

Co-authored-by: Vladimir Stepanenko <[email protected]>

* aggregating total collateral amount in separate storage for easier tracking

* migrations for the new approach with total collateral amount

* test coverage of new features

* updating typos in the lib of apollo pallet

* migration update

* Test coverage for updated migration

* minor update to migrations tests in apollo platform

* Moving runtime upgrade to empty struct (MigrateToV1) with OnRuntimeUpgrade implementation

* Presto KYC (#1309)

Signed-off-by: Mikhail Tagirov <[email protected]>

* fix: typo

* fix: changing migration checks for pre and post upgrade

* Update const STORAGE_VERSION from 0 to 1

Co-authored-by: Vladimir Stepanenko <[email protected]>

* Update multiplier for reading the old and new storage

Co-authored-by: Vladimir Stepanenko <[email protected]>

* Fix TBC reserves distribution (#1311)

* Fix TBC reserves distribution

* Update pallets/multicollateral-bonding-curve-pool/src/mock.rs

Co-authored-by: Taras Rusakovich <[email protected]>

---------

Co-authored-by: Taras Rusakovich <[email protected]>

* Prepare release 4.5.4 (#1312)

* feat: added apollo-platform migrations to the runtime migrations

---------

Signed-off-by: Mikhail Tagirov <[email protected]>
Signed-off-by: sorabot <[email protected]>
Co-authored-by: CvijanCBS <[email protected]>
Co-authored-by: Mikhail Tagirov <[email protected]>
Co-authored-by: Taras Rusakovich <[email protected]>
Co-authored-by: Vladimir Stepanenko <[email protected]>
Co-authored-by: sorabot <[email protected]>
Co-authored-by: Cvijan Djukanovic <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants