-
Notifications
You must be signed in to change notification settings - Fork 0
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
Dev -> testnet #76
Merged
Dev -> testnet #76
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* add deploy workflow * fix workflows location * fix ec2 directory path * add workflow debug logs * change env. to vars. * change all env. to vars. * add appspec * update workflow to use codedeploy * remove whitespace in deploy workflow * update after_install script * set correct file permissions in after_install.sh * add timetstamp to after_install logs * add log to after_install * fix permissions settings in after_install * add elastic IP to allowed hosts * remove permissions logging from after_install * update nginx group permissions * add poetry install to after_install.sh * remove old code from after_install * update donation admin to fix n+1 query issue * use tz aware datetime * specify start block for debugging * trigger redeployment * fix settings.py for local celery * refactor batch function, edit model * correct start block * feat: make donation entries update_or_create * update start block for debugging * debug logs for after_install migration check * migration check debugging * load env vars in after_install * remove old code * display donation id on admin * fix donation id on admin dashboard * fix typo in after_install * fix TokenHistoricalPrice price_usd null issue * add more debug logs * change debug to info * fix typo * use logger.debug * revert to logger.info * fix coingecko api error handling * add error test * remove ERROR test * save correct timestamp on TokenHistoricalPrice record * get start block from cache * fix None to decimal conversion bug * add action_result & type unique_together constraint on Activity * create or update activity even if donation already exists * await aupdate_or_create Activity call * remove manual start block setting * restart indexer at 105_159_364 * restart indexer at 105,363,093 * restart indexer at 105534694 * restart indexer from current block height * add celery recurring task for account totals * update after_install to include celery beat service * use logger in update_account_statistics * add jobs logger * debugging account stats task * fix typo in account stats job * remove transaction.atomic in account stats task * update after_install and celery scripts to handle beat start/stop * remove excess logs for update_account_statistics job * add celery-beat to restart in after_install * remove celery-beat from after_install * move fetch_usd_prices to Donation model method * add fetch_usd_prices to celery beat schedule * add celery-beat stop/restart to after_install * make fetch_usd_prices task synchronous * use sync db methods in Donation model methods * allow None chef_fee on Donation * add migration to set chef_fee to None for existing donations * fix int None issue in fetch_usd_prices * return decimal from Token.format_price * remove redundant log from fetch_usd_prices * fix decimal * flot issue & restart indexer from block 105_854_538 * update usd prices job to check for no protocol_fee_usd value * remove manual start block setting * fix donations query in fetch_usd_prices * Backfill compatible (#23) * feat: allow backfill by update_create,index admin challenge response * fix verbose name typo * remove unused imports --------- Co-authored-by: Lachlan Glen <[email protected]> * restart at block 106388588 * restart at block 106388588 * restart indexer at 106431915 * restart at 106435734 * add pattern matching for pot subaccount * add cors headers & localhost support * fix virtual env usage in after_install.sh * update after_install.sh * revert after_install * update start block to 110046700 * avoid logging WorkerLostErrors to Sentry * update start block to 111941200 * update start block to 112034320 * update start block to 112158850 * update start block to 112461673 * fix display of admins & wl deployers in PotFactory detail (admin) * update verbose name plurals * add Pot custom form * add admin for PotApplicationReview * comment out worker_shutdown_handler * fix tuple error when creating pot, update start block to 112961757 to reindex * update start block to 112920268 * update start block to 113030298 * update start block to 113042335 * update start block to 113058915 * update start block to 113066329 * update start block to 113155075 * update start block to 113284717 * update start block to 113455493 * update start block to 113613466 * update start block to 113614770 * update start block to 114027103 * update start block to 114037338 * update start block to 114056625 * handle None pot application & update start block * use coingecko pro api * choose LakeConfig network based on PL_ENVIRONMENT * Testnet -> Dev (#26) * add deploy-testnet.yml * add testnet deployment workflow & appspec * testnet workflow debugging * upload appspec as artifact * upload zipped codebase to s3 in workflow * continue working on after_install_testnet * separate watchtower log groups by django env * add testnet potlock TLA to indexer handler * add POTLOCK_TLA to settings * add dev.potlock.io and test-dev.potlock.io to allowed hosts * remove admin dashboard edit access * remove admin edit permission for all models * add timestamp to deployment zip filename * add env vars to deploy-testnet * add after_install_dev script * add debug logs * add logs * fix appspec destination for dev * clean up destination directory before installing in deployment (only dev) * add clean_destination scripts * remove BeforeInstall clean destination step * Testnet (#27) * add deploy-testnet.yml * add testnet deployment workflow & appspec * testnet workflow debugging * upload appspec as artifact * upload zipped codebase to s3 in workflow * continue working on after_install_testnet * separate watchtower log groups by django env * add testnet potlock TLA to indexer handler * add POTLOCK_TLA to settings * add dev.potlock.io and test-dev.potlock.io to allowed hosts * remove admin dashboard edit access * remove admin edit permission for all models * add timestamp to deployment zip filename * add env vars to deploy-testnet * add after_install_dev script * add after_install debug logs * handle testnet potfactory & pot contract patterns * test throttle rate * update throttling to 100/minute * Testnet (#28) * add deploy-testnet.yml * add testnet deployment workflow & appspec * testnet workflow debugging * upload appspec as artifact * upload zipped codebase to s3 in workflow * continue working on after_install_testnet * separate watchtower log groups by django env * add testnet potlock TLA to indexer handler * add POTLOCK_TLA to settings * add dev.potlock.io and test-dev.potlock.io to allowed hosts * remove admin dashboard edit access * remove admin edit permission for all models * add timestamp to deployment zip filename * add env vars to deploy-testnet * add after_install_dev script * add after_install debug logs * handle testnet potfactory & pot contract patterns * test throttle rate * update throttling to 100/minute * update readme with API urls --------- Co-authored-by: Prometheus <[email protected]>
fix handling new list and acct creation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.