-
Notifications
You must be signed in to change notification settings - Fork 171
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
feat: testnet prod sync #4399
Merged
Merged
feat: testnet prod sync #4399
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
SDK server prod
sanchaymittal
requested review from
carlomazzaferro,
preethamr and
rhlsthrm
as code owners
June 2, 2023 07:29
wanglonghong
approved these changes
Jun 2, 2023
rhlsthrm
approved these changes
Jun 2, 2023
rhlsthrm
pushed a commit
that referenced
this pull request
Jun 6, 2023
* feat: separate router and sequencer admin keys (#4316) * feat: add nonce to stableswap staging events * feat: add nonce to v0 stableswap events * fix: event id * feat: add nonce field to types * feat: add nonce to stableswap db migration * fix: database adapter for stableswap nonce * chore: add commitlint local setup * ci: update ci workflow for commitlint * feat: update subgraph & poller logic with nonce * feat: rebuild graph-client * fix: query with bigInt params * fix: carto poller unit tests * fix: remove unused checkpoint for asset updates * fix(test): unit tests for poller * chore: add code owners (#4318) * chore: add code owners * (chore) testing gpg sign * (chore) test signed commit * (chore) testing signed commit * ci: fix syntax * ci: try different install * ci: fix commitlint * ci: validate commit * feat: graph-client build * Don't commitlint testnet-prod and prod * Hot Fix: Update Linea goerli RPC * Fix: Disable commitlint in testnet-prod * feat: getSupportedAssets and tests added (#4324) * feat: getSupportedAssets and tests added * chore: use a mockable method * fix(lint): auto fix order problems * test(fix): expect * refactor: renaming --------- Co-authored-by: Prathmesh Khandelwal <prathmeshkhandelwal83@gmail.com> Co-authored-by: wanglonghong <wanglonghong4467@gmail.com> * Fix aggregate root no exist (#4335) * fix: use received aggregate root * fix: lint * feat: should ack and reject (#4336) * chore: change comparison (#4330) * Improve logging and refactor (#4337) * feat: expose nonce api and refactors * fix(utils): mock * test(fix): make optional * Paginate reading pending txs from the redis cache (#4342) * feat: implement pagination in the cache * fix: random sort and keep the first timestamp * fix: no need to retry within a execution window * fix: commitlint * chore: remove console logs * ci: fix batch size * feat: refactor sequencer subscriber (#4352) * feat: dequeued * feat: try without child process * chore: remove and refactor * chore: add dequeued check * chore: remove conf * fix: lint * feat: dont scale with load (#4354) * feat: dont scale with load * chore: increase default size * fix: resolve testnet prod sync conflicts (#4356) * Testnet prod (#4353) * ci: commitlint * ci: db engine * ci: fix --------- Co-authored-by: Rahul Sethuram <rahul.eth@icloud.com> * feat: query if processed root message exists in db * fix: increase unprocessed root message limit to 100 * ci: commitlint * fix: expire data check (#4357) * feat: should not handle transfer status here * feat: check root message status on db * Fix commitlint * fix: commitlint * fix: message status query * test: add more unit tests for poller * test: add unit tests for database * ci: commitlint * fix: 4362 save transferid in the messages table (#4364) * feat: add transfer_id to migration * feat: zapatos * fix: convert functions * fix: unit tests for database * chore: update graph packages * ci: commitlint * ci: set proverBatchSize per chain (#4375) * chore: update (#4378) * feat: 4326 scale sequencer http server (#4363) * Implement new pub and sub tasks for http messages. * Tune the http pub-sub setup * Add server to seq TF configs * Add seq server to build and test config * Refactor helpers for seq server * Update seq mq config to add http queue * fix: Update config handling * feat: Update unit tests * fix : correct config * fix : remove todo * refactor : Validate http post as per schema * tests : Update unit tests * tests : update exclusions * fix : remove unused imports * fix: Use fastify body schema validation * fix: update default ports * fix: update sequencer url in smoke tests * fix: sequencer exec data not found in the cache (#4383) * fix: sequencer exec data not found in the cache (#4383) * fix: remove unecessary prefetch config setup * fix: remove unecessary prefetch config setup * fix: wait until none (#4386) * fix: wait until none * fix: slowpath cache issue * ci: testnet prod sync (#4379) * feat: separate router and sequencer admin keys (#4316) * feat: add nonce to stableswap staging events * feat: add nonce to v0 stableswap events * fix: event id * feat: add nonce field to types * feat: add nonce to stableswap db migration * fix: database adapter for stableswap nonce * chore: add commitlint local setup * ci: update ci workflow for commitlint * feat: update subgraph & poller logic with nonce * feat: rebuild graph-client * fix: query with bigInt params * fix: carto poller unit tests * fix: remove unused checkpoint for asset updates * fix(test): unit tests for poller * chore: add code owners (#4318) * chore: add code owners * (chore) testing gpg sign * (chore) test signed commit * (chore) testing signed commit * ci: fix syntax * ci: try different install * ci: fix commitlint * ci: validate commit * feat: graph-client build * Don't commitlint testnet-prod and prod * Hot Fix: Update Linea goerli RPC * Fix: Disable commitlint in testnet-prod * feat: getSupportedAssets and tests added (#4324) * feat: getSupportedAssets and tests added * chore: use a mockable method * fix(lint): auto fix order problems * test(fix): expect * refactor: renaming --------- Co-authored-by: Prathmesh Khandelwal <prathmeshkhandelwal83@gmail.com> Co-authored-by: wanglonghong <wanglonghong4467@gmail.com> * Fix aggregate root no exist (#4335) * fix: use received aggregate root * fix: lint * feat: should ack and reject (#4336) * chore: change comparison (#4330) * Improve logging and refactor (#4337) * feat: expose nonce api and refactors * fix(utils): mock * test(fix): make optional * Paginate reading pending txs from the redis cache (#4342) * feat: implement pagination in the cache * fix: random sort and keep the first timestamp * fix: no need to retry within a execution window * fix: commitlint * chore: remove console logs * ci: fix batch size * feat: refactor sequencer subscriber (#4352) * feat: dequeued * feat: try without child process * chore: remove and refactor * chore: add dequeued check * chore: remove conf * fix: lint * feat: dont scale with load (#4354) * feat: dont scale with load * chore: increase default size * fix: resolve testnet prod sync conflicts (#4356) * Testnet prod (#4353) * ci: commitlint * ci: db engine * ci: fix --------- Co-authored-by: Rahul Sethuram <rahul.eth@icloud.com> * feat: query if processed root message exists in db * fix: increase unprocessed root message limit to 100 * ci: commitlint * fix: expire data check (#4357) * feat: should not handle transfer status here * feat: check root message status on db * Fix commitlint * fix: commitlint * fix: message status query * test: add more unit tests for poller * test: add unit tests for database * ci: commitlint * fix: 4362 save transferid in the messages table (#4364) * feat: add transfer_id to migration * feat: zapatos * fix: convert functions * fix: unit tests for database * chore: update graph packages * ci: set proverBatchSize per chain (#4375) * chore: update (#4378) * feat: 4326 scale sequencer http server (#4363) * Implement new pub and sub tasks for http messages. * Tune the http pub-sub setup * Add server to seq TF configs * Add seq server to build and test config * Refactor helpers for seq server * Update seq mq config to add http queue * fix: Update config handling * feat: Update unit tests * fix : correct config * fix : remove todo * refactor : Validate http post as per schema * tests : Update unit tests * tests : update exclusions * fix : remove unused imports * fix: Use fastify body schema validation * fix: update default ports * fix: update sequencer url in smoke tests * fix: sequencer exec data not found in the cache (#4383) * fix: remove unecessary prefetch config setup --------- Co-authored-by: Rahul Sethuram <rahul@connext.network> Co-authored-by: Liu <57480598+liu-zhipeng@users.noreply.github.com> Co-authored-by: Rahul Sethuram <rahul.eth@icloud.com> Co-authored-by: Sanchay Mittal <sanchaymittal@gmail.com> Co-authored-by: Prathmesh Khandelwal <201952225@iiitvadodara.ac.in> Co-authored-by: Prathmesh Khandelwal <prathmeshkhandelwal83@gmail.com> Co-authored-by: wanglonghong <wanglonghong4467@gmail.com> * ci: fix tests * ci: fix smoke test config * ci: testnet prod (#4388) * feat: separate router and sequencer admin keys (#4316) * feat: add nonce to stableswap staging events * feat: add nonce to v0 stableswap events * fix: event id * feat: add nonce field to types * feat: add nonce to stableswap db migration * fix: database adapter for stableswap nonce * chore: add commitlint local setup * ci: update ci workflow for commitlint * feat: update subgraph & poller logic with nonce * feat: rebuild graph-client * fix: query with bigInt params * fix: carto poller unit tests * fix: remove unused checkpoint for asset updates * fix(test): unit tests for poller * chore: add code owners (#4318) * chore: add code owners * (chore) testing gpg sign * (chore) test signed commit * (chore) testing signed commit * ci: fix syntax * ci: try different install * ci: fix commitlint * ci: validate commit * feat: graph-client build * Don't commitlint testnet-prod and prod * Hot Fix: Update Linea goerli RPC * Fix: Disable commitlint in testnet-prod * feat: getSupportedAssets and tests added (#4324) * feat: getSupportedAssets and tests added * chore: use a mockable method * fix(lint): auto fix order problems * test(fix): expect * refactor: renaming --------- Co-authored-by: Prathmesh Khandelwal <prathmeshkhandelwal83@gmail.com> Co-authored-by: wanglonghong <wanglonghong4467@gmail.com> * Fix aggregate root no exist (#4335) * fix: use received aggregate root * fix: lint * feat: should ack and reject (#4336) * chore: change comparison (#4330) * Improve logging and refactor (#4337) * feat: expose nonce api and refactors * fix(utils): mock * test(fix): make optional * Paginate reading pending txs from the redis cache (#4342) * feat: implement pagination in the cache * fix: random sort and keep the first timestamp * fix: no need to retry within a execution window * fix: commitlint * chore: remove console logs * ci: fix batch size * feat: refactor sequencer subscriber (#4352) * feat: dequeued * feat: try without child process * chore: remove and refactor * chore: add dequeued check * chore: remove conf * fix: lint * feat: dont scale with load (#4354) * feat: dont scale with load * chore: increase default size * fix: resolve testnet prod sync conflicts (#4356) * Testnet prod (#4353) * ci: commitlint * ci: db engine * ci: fix --------- Co-authored-by: Rahul Sethuram <rahul.eth@icloud.com> * feat: query if processed root message exists in db * fix: increase unprocessed root message limit to 100 * ci: commitlint * fix: expire data check (#4357) * feat: should not handle transfer status here * feat: check root message status on db * Fix commitlint * fix: commitlint * fix: message status query * test: add more unit tests for poller * test: add unit tests for database * ci: commitlint * fix: 4362 save transferid in the messages table (#4364) * feat: add transfer_id to migration * feat: zapatos * fix: convert functions * fix: unit tests for database * chore: update graph packages * ci: set proverBatchSize per chain (#4375) * chore: update (#4378) * feat: 4326 scale sequencer http server (#4363) * Implement new pub and sub tasks for http messages. * Tune the http pub-sub setup * Add server to seq TF configs * Add seq server to build and test config * Refactor helpers for seq server * Update seq mq config to add http queue * fix: Update config handling * feat: Update unit tests * fix : correct config * fix : remove todo * refactor : Validate http post as per schema * tests : Update unit tests * tests : update exclusions * fix : remove unused imports * fix: Use fastify body schema validation * fix: update default ports * fix: update sequencer url in smoke tests * fix: sequencer exec data not found in the cache (#4383) * fix: remove unecessary prefetch config setup * ci: fix tests * ci: fix smoke test config --------- Co-authored-by: Liu <57480598+liu-zhipeng@users.noreply.github.com> Co-authored-by: Sanchay Mittal <sanchaymittal@gmail.com> Co-authored-by: preethamr <preethamr@users.noreply.github.com> Co-authored-by: Prathmesh Khandelwal <201952225@iiitvadodara.ac.in> Co-authored-by: Prathmesh Khandelwal <prathmeshkhandelwal83@gmail.com> Co-authored-by: wanglonghong <wanglonghong4467@gmail.com> * chore: bump chain abstraction * fix: update tf config for sequncer cname * fix: sequencer http queue config update * fix: add auto scaling to seq publisher * fix: typo and seq health port config change * feat: testnet prod sync (#4399) * feat: prod * feat: pass full images * feat: enable alarms in testnet staging * feat: testnet prod alarms * fix: typos * chore: update docker build command for mac * chore: update docker settings for mac * fix: use the correct server package * ci: remove deprecated commands (#4385) * ci: fix job --------- Co-authored-by: carlomazzaferro <carlo.mazzaferro@gmail.com> Co-authored-by: just-a-node <eye1717@gmail.com> Co-authored-by: Rahul Sethuram <rahul@connext.network> Co-authored-by: Rahul Sethuram <rahul.eth@icloud.com> --------- Co-authored-by: Liu <57480598+liu-zhipeng@users.noreply.github.com> Co-authored-by: Sanchay Mittal <sanchaymittal@gmail.com> Co-authored-by: preethamr <preethamr@users.noreply.github.com> Co-authored-by: Prathmesh Khandelwal <201952225@iiitvadodara.ac.in> Co-authored-by: Prathmesh Khandelwal <prathmeshkhandelwal83@gmail.com> Co-authored-by: wanglonghong <wanglonghong4467@gmail.com> Co-authored-by: just-a-node <eye1717@gmail.com> Co-authored-by: carlomazzaferro <carlo.mazzaferro@gmail.com>
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.
Description
Type of change
High-level change(s) description - from the user's perspective
Related Issue(s)
Fixes
Related pull request(s)