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

trigger build #611

Draft
wants to merge 105 commits into
base: main
Choose a base branch
from
Draft

trigger build #611

wants to merge 105 commits into from

Conversation

lazynina
Copy link
Member

No description provided.

mattfoley8 and others added 30 commits April 7, 2023 13:32
* Allow ParamUpdater to update PoS GlobalParams.

* Add epoch number to get pos params call.

* Change core branch in test Dockerfile.

* Add test for updating global params.

* Fix bugs in testing updating global params.

* Checkout correct core branch.

* Change core branch.
* Add validator registration endpoints.

* Allow ExtraData to be logged.
* Add get validator by PublicKey route.

* Address PR review feedback.
* Rename VotingPublicKeySignature to VotingAuthorization.

* Checkout corresponding core branch.

* Change core branch in test CI.
* Refactor merging GlobalParamsEntry defaults.

* Change core branch in test dockerfile.
* [stable] Release 3.4.4

* add node version endpoint (#505)

Co-authored-by: Lazy Nina <>

* [stable] Release 3.4.5

* hotfix to exchange test

* Add captcha verification (#509)

* Updates to captcha verification

* Updates to backend

* Updates to captcha verify

* Update captcha verification

* Cleanup logs

* Add routes to store reward amount in global state, track usage via data dog

* Update verify captcha validation ordering, add back comp profile config bool

* Update badger sync settings to optimize memory usage during hypersync (#506)

* Update hypersync to use default badger settings, switch to performance settings once hypersync completes

* Update test dockerfile to accept core branch name as parameter

* Blank commit to trigger build

* ln/fix-transaction-info-mempool (#510)

Co-authored-by: Lazy Nina <>

* ln/no-comp-when-0-create-profile-fee (#511)

Co-authored-by: Lazy Nina <>

* Empty commit to trigger build (#515)

* Add extra data to basic transfer and diamond txn construction endpoints (#516)

* trigger build (#517)

Co-authored-by: Lazy Nina <>

* trigger build

* Add RWLock around AllCountryLevelSignUpBonuses (#518)

Co-authored-by: Lazy Nina <>

---------

Co-authored-by: Lazy Nina <>
Co-authored-by: superzordon <[email protected]>
Co-authored-by: Lazy Nina <>
Co-authored-by: Lazy Nina <>
…nstruction endpoint (#523)

Co-authored-by: Lazy Nina <>
* Add stake, unstake, and unlock stake txn construction endpoints

* Add stake, unstake, and unlock stake txn construction endpoints

---------

Co-authored-by: Lazy Nina <>
* Add spending limits backend support for stake, unstake, unlock stake

* Add txn construction and get endpoints for lockups

* Add additional sanity checks to lockup endpoint.

* Add txn construction and get endpoints for lockups

* Add additional sanity checks to lockup endpoint.

* Remove redundant profile entry response from LockedBalanceEntryResponse.

* Add proper timestamp to simulateSubmitTransaction.

* Apply suggestions from code review

---------

Co-authored-by: Lazy Nina <>
Co-authored-by: Jon Pollock <[email protected]>
tholonious and others added 28 commits April 12, 2024 16:46
* Simple CreateAtomicTxnsWrapper scaffolding.

* Update method on CreateAtomicTxnsWrapper.

* Use MaxTxnSizeBytesPoS for atomic transaction construction.

* Subsidized Update Profile Scaffolding

* Simple CreateAtomicTxnsWrapper scaffolding.

* Update method on CreateAtomicTxnsWrapper.

* Use MaxTxnSizeBytesPoS for atomic transaction construction.

* Fix MaxTxnSizeBytes bug

* Implemented Subsidized Update Profile.

* Add an endpoint for easily submitting incomplete atomic transactions.

* Fix submit-atomic-transaction by using incomplete atomic hex.

* Use mempool is update profile subsidization.

* Remove subsidized update profile.

---------

Co-authored-by: diamondhands <[email protected]>
* Add Script To Make Global Params Changes on Regtest Node

* Remove public key
This PR contains several SAFE upgrades to backend to support the various things we need for DeSo AMMs:
- Add a `TxnStatus` field that can be provided as an argument to `GetDAOCoinLimitOrders`, `GetTxn`, and `GetTransactorDAOCoinLimitOrders`. This param allows the caller to either consider *unconfirmed txns*, which was the existing behavior before the introduction of this field, or to only consider *confirmed* txns. The latter is what we need for the AMM since we only want to be reacting to things that are finalized. Note that this change is SAFE because the default value is TxnStatusUnconfirmed, which was the pre-existing behavior. If you don't pass the argument, as none of the existing callers do, you will get the exact same result. It's only if you pass TxnStatusConfirmed, as the AMM code does, that you will get a different result than before.
- Make it so that you can provide a list of OrderIds to `GetDAOCoinLimitOrdersRequest` and get back the ones that are currently on the book. Needed for the main loop of the AMM.
- Introduce a new function called `IsDesoPkid` that flexibly allows the caller of backend endpoints to specify any of {"DESO", MiannetZeroPkidBase58Check, TestnetZeroPkidBase58Check} and get the same behavior. This change is needed because some things rely on using a ZeroPkid while other things rely on the "DESO" string being passed. This change is SAFE because it makes these functions LESS restrictive, and all pre-existing code that calls the endpoints with "DESO" are unaffected.
- Allow for filtering by buying/selling pkid in `GetTransactorDAOCoinLimitOrders` . This is needed for the main loop of the AMM. This change is SAFE because the params are optional, and leaving them out gives you the exact same behavior as before.
Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @lazynina and the rest of your teammates on Graphite Graphite

Base automatically changed from feature/proof-of-stake to main June 17, 2024 18:05
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.

5 participants