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

Feature branch: runtime upgrade 1038 #1953

Merged
merged 39 commits into from
Mar 18, 2024
Merged

Conversation

sophialittlejohn
Copy link
Collaborator

Description

This pull request...

Closes #

Approvals

  • Dev
  • Dev
  • Designer
  • Product

Screenshots

Impact

onnovisser and others added 7 commits January 31, 2024 10:39
* Add pool fee tab and table with drawers for edit and charging fees

* Add UI of form to charge fees

* Update links

* Add successful submit state to charge order

* Fetch pool fee data from onchain

* Update styles of Drawer header

* Enable setting pool fee charge

* Fix update order

* Remove logs

* Add functionality for edit fees drawer

* Update metadata when editing pool fees

* Query proposed changes

* Fix metadata update when item is not being removed

* Clean up

* Hide edit fee structure button for non admins

* Remove unused var

* Update styles

* Support LP in holders & investor tx reporting (#1912)

* Update

* Fix

* wip

* Fix address format

* Improve

* Naming

* Add investor tx type filter

* Disable oracles (#1916)

---------

Co-authored-by: Jeroen <[email protected]>
Co-authored-by: Onno Visser <[email protected]>
* Add pool fees to create pool form

* Add create fees to create pool

* Add treasury account

* Update formik to resolve type errors

* Align all columns to the left

* Add fees tab to issuer pool

* Fix gray background to full width
@sophialittlejohn sophialittlejohn changed the title Feature branch for runtime upgrade 1038 Feature branch: runtime upgrade 1038 Feb 12, 2024
* Fix button spacing in holdings

* Update font color of tertiary button

* Use tertiary buttons for poolfees table

* Show actions only to allowed viewers

* Handle cancel better on update fee charge

* Update label

* Add pool type input to create pool

* Add validation for new input

* Set correct default fees based on poolType

* Add ~ to pending fees

* Add pending fees for fixed fees

* Fix tilde logic

* Fix balance types

* Account for epoch time if limit is amountPerSecond

* Use last nav for pending fee calculation

* Clean up naming

* Remove ~ and add pending fees to fixed fee calc

* Fix input jumping

* Fix multiply by zero on first epoch where previous nav is 0

* Remove logs

* Add type decorations for nav runtime api

* Fix PoolNav types

* Fetch nav value from runtime instead of chain storage

* Fix decimal error in fees
@gpmayorga gpmayorga force-pushed the runtime-upgrade-1038 branch from fde7c31 to cd843f5 Compare February 13, 2024 09:38
@gpmayorga gpmayorga closed this Feb 13, 2024
@gpmayorga gpmayorga reopened this Feb 13, 2024
Copy link
Collaborator

@gpmayorga gpmayorga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reminder to revert commit 785c491 before merging

gpmayorga and others added 7 commits February 22, 2024 15:44
* Add copy to clipboard to receiving address in table

* Add total pending fees to page summary

* Show action column only to receiving address and pool admins

* Use maxPayable as amount for non fixed charges

* Add fee position column and numbered fees

* Fix disabled dropdown label

* Rename protocol fees

* Add tooltip to fee type label

* Add fee position to metadata and update label of fixed fee input

* Ajust edit fees drawer

* Rename title in charge fees drawer

* Remove log

* Add * to required fields in create pool form

* Update centrifuge-app/src/pages/IssuerCreatePool/PoolFeeInput.tsx

* Fix fixed pending fees

* Prettier

* Fix reserve in chart

---------

Co-authored-by: JP <[email protected]>
centrifuge-js/src/modules/pools.ts Dismissed Show dismissed Hide dismissed
@jpangelle jpangelle force-pushed the runtime-upgrade-1038 branch from a5009ef to a3d9cba Compare February 28, 2024 04:33
wischli and others added 11 commits March 7, 2024 15:35
* feat: add pool fees runtime api

* fix: remove non-existent RPCs

* feat: LoansApi v2
* Set up fee tx reporting

* Use fee id

* Setup

* Naming

* Update centrifuge-app/src/components/Report/FeeTransactions.tsx

Co-authored-by: Sophia <[email protected]>

---------

Co-authored-by: Sophia <[email protected]>
* Upgrade polkadot packages

* Bump version

* Upgrade deps in cent-app
Copy link

socket-security bot commented Mar 15, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@ampproject/[email protected] None +5 447 kB jridgewell
npm/@noble/[email protected] None +1 2.16 MB paulmillr
npm/@polkadot-api/[email protected] Transitive: environment +9 6.76 MB paritytech-ci
npm/@polkadot-api/json-rpc-provider-proxy@0.0.1-12c4b0432a814086c3c1a3b8052b31c72c2c9ad3.1.0 None 0 64.3 kB paritytech-ci
npm/@polkadot-api/json-rpc-provider@0.0.1-12c4b0432a814086c3c1a3b8052b31c72c2c9ad3.1.0 None 0 5.28 kB paritytech-ci
npm/@polkadot-api/metadata-builders@0.0.1-12c4b0432a814086c3c1a3b8052b31c72c2c9ad3.1.0 Transitive: environment +5 1.64 MB paritytech-ci
npm/@polkadot-api/substrate-bindings@0.0.1-12c4b0432a814086c3c1a3b8052b31c72c2c9ad3.1.0 Transitive: environment +4 1.29 MB paritytech-ci
npm/@polkadot-api/substrate-client@0.0.1-12c4b0432a814086c3c1a3b8052b31c72c2c9ad3.1.0 None 0 176 kB paritytech-ci
npm/@polkadot-api/[email protected] None 0 23.9 kB paritytech-ci
npm/@polkadot/[email protected] Transitive: environment, filesystem, network +60 80.3 MB polkadotjs
npm/@polkadot/[email protected] Transitive: environment, filesystem, network +59 78.5 MB polkadotjs
npm/@polkadot/[email protected] Transitive: environment, filesystem, network +64 83.4 MB polkadotjs
npm/@polkadot/[email protected] Transitive: environment, filesystem, network +64 83.4 MB polkadotjs
npm/@polkadot/[email protected] None +21 7.67 MB polkadotjs
npm/@polkadot/[email protected] None +10 2.99 MB polkadotjs
npm/@polkadot/[email protected] Transitive: environment, filesystem, network +58 78.5 MB polkadotjs
npm/@polkadot/[email protected] Transitive: environment, filesystem, network +58 78.5 MB polkadotjs
npm/@polkadot/[email protected] network Transitive: environment, filesystem +56 78.4 MB polkadotjs
npm/@polkadot/[email protected] None +26 16.8 MB polkadotjs
npm/@polkadot/[email protected] None +9 3.53 MB polkadotjs
npm/@polkadot/[email protected] None +10 3.6 MB polkadotjs
npm/@polkadot/[email protected] None +27 17.3 MB polkadotjs
npm/@polkadot/[email protected] None +9 28.2 MB polkadotjs
npm/@polkadot/[email protected] None +26 16.8 MB polkadotjs
npm/@polkadot/[email protected] None +1 99.1 kB polkadotjs
npm/@polkadot/[email protected] Transitive: network +7 9.34 MB polkadotjs
npm/@polkadot/[email protected] None +10 2.94 MB polkadotjs
npm/@polkadot/[email protected] None +1 103 kB polkadotjs
npm/@polkadot/[email protected] None +1 103 kB polkadotjs
npm/@polkadot/[email protected] Transitive: environment, network +2 242 kB polkadotjs
npm/@substrate/[email protected] None 0 17.9 MB wirednkod
npm/@substrate/[email protected] Transitive: environment, network +17 31.7 MB wirednkod
npm/@substrate/[email protected] Transitive: environment, network +16 31.5 MB wirednkod
npm/[email protected] environment, filesystem 0 172 kB vitaly
npm/[email protected] environment 0 185 kB josepot

🚮 Removed packages: npm/@ampproject/[email protected], npm/@polkadot/[email protected], npm/@polkadot/[email protected], npm/@polkadot/[email protected], npm/@polkadot/[email protected], npm/@polkadot/[email protected], npm/@polkadot/[email protected], npm/@polkadot/[email protected], npm/@polkadot/[email protected], npm/@polkadot/[email protected], npm/@polkadot/[email protected], npm/@polkadot/[email protected], npm/@polkadot/[email protected], npm/@polkadot/[email protected], npm/@polkadot/[email protected], npm/@polkadot/[email protected], npm/@polkadot/[email protected], npm/@substrate/[email protected], npm/@substrate/[email protected], npm/[email protected], npm/[email protected]

View full report↗︎

Copy link

socket-security bot commented Mar 15, 2024

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report↗︎

@sophialittlejohn sophialittlejohn enabled auto-merge (squash) March 18, 2024 16:27
Copy link

PR deployed in Google Cloud
URL: https://app-pr1953.k-f.dev
Commit #: 87ca95f
To access the functions directly check the corresponding deploy Action

@sophialittlejohn sophialittlejohn merged commit 0b7bf89 into main Mar 18, 2024
14 checks passed
@sophialittlejohn sophialittlejohn deleted the runtime-upgrade-1038 branch March 18, 2024 16:32
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.

6 participants