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

Backport AVAX subgraph release branch to dev #823

Merged
merged 1 commit into from
May 16, 2022

Conversation

0xdavinchee
Copy link
Contributor

No description provided.

Copy link
Contributor

@hellwolf hellwolf left a comment

Choose a reason for hiding this comment

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

yep

@0xdavinchee 0xdavinchee merged commit 19a2ff3 into dev May 16, 2022
@0xdavinchee 0xdavinchee deleted the backport-avax-subgraph-release branch May 16, 2022 16:04
@github-actions
Copy link

XKCD Comic Relif

Link: https://xkcd.com/823
https://xkcd.com/823

0xdavinchee added a commit that referenced this pull request May 23, 2022
* Add few more CFA and IDA cases (#781)

* SDK-Core and Subgraph Release Cleanup (#784)

* subgraph clean up
* make FlowOperatorUpdatedEvent immutable
* fix comment
* supertoken initialization wip
* added loadNativeAssetSuperToken, loadPureSuperToken and loadWrapperSuperToken functions in Framework
* loadSuperToken returns base SuperToken class
* added tests for new initialization
* move createFlowOperatorUpdatedEventEntity after flowOperator entity is created

* SDK-Core Version 0.4.0 (#782)

* changelog breaking added

* removed most of the readme file text

* update dependency versions

* update package.json dependency versions
* piggyback incorrect change-log versions
* update sdk-core changelog accordingly
* update sdk-core version in subgraph

* bump sdk-core version in sdk-redux

* update js-sdk version and yarn.lock

* Update CHANGELOG.md

* Update CHANGELOG.md

* update package versions for examples

* fix broken example build

* Update yarn.lock

* same as simple-acl-close

* forgot about yarn.lock file...

* fix transactiontable.tsx

Co-authored-by: Miao ZhiCheng <[email protected]>

* Refactor SuperfluidFrameworkDeployer & ERC1820RegistryCompiled (#789)

* refactor SuperfluidFrameworkDeployer & ERC1820 support
* include cfa/ida libs in the framework struct

* Simple ACL Gelato Example (#779)

* rename files
* fix forge build after copy pasta
* clean up Makefile
* local .gitmodules and remove .gitmodules in root
* comment out ida deployment as this is silently breaking
* add hardhat.config.ts
* create OpsMock contract
* setOps in resolver
* add tests for SimpleACLCloseResolver
* cleanup setup()
* setup cleanup
* test case cleanup
* remove superfluidtester file
* cleanup test file: remove comments, organize by section
* add more tests
* add more TODO tests
* add more functionality to simpleaclcloseresolver
* added a bunch of fuzzing tests because why not?
* added some general test cases
* add README.md
* add forge deploy in make file
* add check if flow exists for `canExec` boolean
* modify hardhat.config.ts to work with foundry test files
* fix tests accordingly (block.timestamp starts from 0)
* add hardhat-ethers, sdk-core and hardhat-etherscan
* hardhat deploy script added
* GAS_LIMIT added to .env.tempalte
* typechain-types added to .gitignore
* typechain added to hardhat config
* tsconfig added
* added scripts to package.json
* added verifyContract hardhat task
* modified README.md
* deploy script fleshed out
* remove gasLimit in resolver
* quick tests setup
* basic test setup
* build-and-test.sh script added
* package.json formatting
* deploy framework and tokens
* SimpleACLResolver tests added
* deploy script cleanup
* SimpleACLResolver.t.sol naming cleanup
* ethers required otherwise typings is weird
* add gas reporter/solidity coverage for hardhat

* Bump ethereum-contracts to 1.2.2 (#791)

* Employment Loan Example: Patch lend function (#786)

* Subgraph 1.3.2 patch (#794)

* I think this is leading to issues w/ subgraph breaking

* actual fix

* this was creating 0 address account token snapshots as it always saves

* update subgraph version

* test case added

ensure no Account or AccountTokenSnapshot entities with the zero address

* missing :

* query mistake

* cleanup + clarification

* allow zero address account/ATS

* incorrect test description

* Subgraph Fix Pt2 (#798)

* I think this is leading to issues w/ subgraph breaking

* actual fix

* this was creating 0 address account token snapshots as it always saves

* update subgraph version

* test case added

ensure no Account or AccountTokenSnapshot entities with the zero address

* missing :

* query mistake

* cleanup + clarification

* allow zero address account/ATS

* incorrect test description

* remove immutable: true test

* test theory

* Revert "test theory"

This reverts commit 5ae2ebd.

* add tests

* test pulling all the subgraph entities which have an `ILightEntity` and ensure that none of them break

* print out the retrieved data

* Update ACL example (#799)

* update ACL example

* update ethereum-contracts to v1.2.2
* utilize ERC1820RegistryCompiled
* fix SFDeployer to take new syntax
* fix Makefile commands

* use cfaLib from sfFramework

* use CFAv1Lib from SFDeployer

* Js-SDK maintenance branch release 0.6.0 (#802)

* Fix a query syntax in subgraph testing (#801)

* fix coverage test path issue

* fix ci: set working-directory correctly

* fix ci

* fix ci

* [skip ci] Add a NOTE to ci

* [778] SlotsBitmapLibrary Property Test Fuzzing (#790)

* CfAv1Library ACL support (#803)

* [RFR] Added logIndex property to events (#800)

* Fix codecov source files (#806)

* [RFR] 654 added a property to order events chronologically (#805)

* Fix ethereum-coverage code coverage  (#808)

* New package: hot-fuzz, a hot fuzz for testing Superfluid protocol and Super Apps (#708)

* Fix the flowlottery hot fuzz temp link (#812)

* add test to hardhat budget nft suite for transferring NFT ownership (#795)

Co-authored-by: Miao ZhiCheng <[email protected]>
Co-authored-by: 0xdavinchee <[email protected]>

* Some small changes (#813)

* docs: add bertux as a contributor for review (#820)

* Hotfuzz improvements (#814)

* update hot-fuzz version due to breaking change

* avalanche-c (#823)

* Avalanche Support Added (#819)

* avalanche support added

* avalanche support added for ethereum-contracts (hardhat), sdk-core in constants.ts and subgraph (config/, networks.json, addresses.template.ts)
* subgraph `README.md` cleanup
* deploy-all-networks variable renaming

* constants for chainId

* js-sdk getConfig update

* add avalanche to networkNameToChainIdMap

* goerli => matic rename

* canonical naming for avalanche-c

* added Avalanche to supertoken deployer Dapp

* readme update

* use canonical naming from truffle-config.js

* use truffle-config canonical names in constants for sdk-core

* fix empty pk case

* matic => polygon-mainnet for sdk-core tests

* new js-sdk/sdk-core versions bumped!

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

* [RFR] Added criticalAtTimestamp entity to subgraph v1 (#822)

* new field added maybeCriticalAtTimestamp account token snapshot
* Added maybeCriticalAtTimestamp account token snapshot
* added to SDK-Core subgraph files
* changed variable name to MAX_SAFE_MILLISECONDS

* [RFR] create account token snapshot log for each account token snapshot updates (#830)

* added logs entitt
* added code for account balance log
* fixed --  added test cases
* fixed ida broken test cases
* comment added
* merged critical at timestamp changes into branch
* added isLiquidationEstimateOptimistic flag
* updated:: as per review comment

* Create folder structure for examples (#804)

* Fixed:: TypeScript error in /Users/mikeghen/Documents/Projects/ricochet-frontend/node_modules/@superfluid-finance/js-sdk/src/InstantDistributionAgreementV1Helper.d.ts(197,19): (#829)

* allow same app registration on testnets and mainnets

* Sdkcore updates new fields and entities changes (#834)

* added account token balance logs and missing field from other story

* Revert "Sdkcore updates new fields and entities changes (#834)" (#836)

This reverts commit cd892eb.

* SDK-Core Release Subgraph Compatibility Tests (#835)

* add subgraph tests in sdk-core tests
* general ci cleanup: quote consistency, remove unused env variables
generate-graphql-schema for correct release in feature, canary and release
use hardhat node instead of truffle and update hardhat.config.ts to point to hardhat node chainId
separate startGanacheAndDeployContracts into startHardhatNode and setupTestEnvironment
* add multiple versions test to ci-pre-release
refactor 5_subgraph_test.ts by taking test functions out
new previous-versions-testing folder which contains queryTests.ts (extracted functions from above), runQueryTests.ts (for running previous-version-tests) and package.json which has sdk-core as a devDep
* generate-graphql-schema before build and release
* only test live subgraph release for sdk-core-release and only test previous sdk-version releases for subgraph release
* use query instead of framework for subgraph query tests + add console.log to see where things are breaking-local subgraph taking too long
* try reusable workflow, use query instead of full framework object
* test and deploy subgraph reusable workflow takes inputs, ci.canary, ci.feature, ci.pre-release cleanup w/ use of reusable workflow, use goerli TEMPORARILY because matic indexing is really slow
* rename call.setup-and-deploy to setup-deploy-and-test, cleanup + uses fix, testing https://github.blog/changelog/2022-01-25-github-actions-reusable-workflows-can-be-referenced-locally/, add test-subgraph-on-previous-sdk-versions to canary build and subgraph deploy, use local-subgraph-rule in test-previous-versions for deploy-subgraph case, LOCAL_SUBGRAPH_URL taken for runQueryTests
* check indexing completeness script added and reusable workflow added for it, deploy subgraph needs build and test w/ previous sdk-core releases to pass
* use matic instead of goerli
* workflow name headline consistency + double quote consistency cleanup + caller files added to dependent paths

* Fix workflow (#839)

* Yellow Paper Latex Pipeline

* Last CI fix  (#840)

* Local subgraph + SDK-Core tests fixes + cleanup

* Sdkcore updates new fields and entities changes (#837)

* Revert "Revert "Sdkcore updates new fields and entities changes (#834)" (#836)"

This reverts commit f8cb3ec.

* require test-subgraph-on-previous-sdk-versions

add test-subgraph-on-previous-sdk-versions to needs before publish-npm-packages job is run

* remove test-subgraph-on-previous-sdk-versions job from ci.canary

Co-authored-by: 0xdavinchee <[email protected]>

* CI Pre Release Draft Fix + CI Canary Cleanup (#843)

* cleanup + fix logic of build files

* generate dev schema + SUBGRAPH_RELEASE_TAG: dev

* only run on deploy to v1 endpoints

* properly select subgraph-release

* file rename + refactor

* trigger ci.feature on any workflow edits given requirement of ci feature workflow for merge

Co-authored-by: elvijsTDL <[email protected]>
Co-authored-by: Miao ZhiCheng <[email protected]>
Co-authored-by: saflamini <[email protected]>
Co-authored-by: Joshua Trujillo <[email protected]>
Co-authored-by: Mehul Soni <[email protected]>
Co-authored-by: Lewington-pitsos <[email protected]>
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Co-authored-by: Didi <[email protected]>
0xdavinchee added a commit that referenced this pull request May 24, 2022
* Add few more CFA and IDA cases (#781)

* SDK-Core and Subgraph Release Cleanup (#784)

* subgraph clean up
* make FlowOperatorUpdatedEvent immutable
* fix comment
* supertoken initialization wip
* added loadNativeAssetSuperToken, loadPureSuperToken and loadWrapperSuperToken functions in Framework
* loadSuperToken returns base SuperToken class
* added tests for new initialization
* move createFlowOperatorUpdatedEventEntity after flowOperator entity is created

* SDK-Core Version 0.4.0 (#782)

* changelog breaking added

* removed most of the readme file text

* update dependency versions

* update package.json dependency versions
* piggyback incorrect change-log versions
* update sdk-core changelog accordingly
* update sdk-core version in subgraph

* bump sdk-core version in sdk-redux

* update js-sdk version and yarn.lock

* Update CHANGELOG.md

* Update CHANGELOG.md

* update package versions for examples

* fix broken example build

* Update yarn.lock

* same as simple-acl-close

* forgot about yarn.lock file...

* fix transactiontable.tsx

Co-authored-by: Miao ZhiCheng <[email protected]>

* Refactor SuperfluidFrameworkDeployer & ERC1820RegistryCompiled (#789)

* refactor SuperfluidFrameworkDeployer & ERC1820 support
* include cfa/ida libs in the framework struct

* Simple ACL Gelato Example (#779)

* rename files
* fix forge build after copy pasta
* clean up Makefile
* local .gitmodules and remove .gitmodules in root
* comment out ida deployment as this is silently breaking
* add hardhat.config.ts
* create OpsMock contract
* setOps in resolver
* add tests for SimpleACLCloseResolver
* cleanup setup()
* setup cleanup
* test case cleanup
* remove superfluidtester file
* cleanup test file: remove comments, organize by section
* add more tests
* add more TODO tests
* add more functionality to simpleaclcloseresolver
* added a bunch of fuzzing tests because why not?
* added some general test cases
* add README.md
* add forge deploy in make file
* add check if flow exists for `canExec` boolean
* modify hardhat.config.ts to work with foundry test files
* fix tests accordingly (block.timestamp starts from 0)
* add hardhat-ethers, sdk-core and hardhat-etherscan
* hardhat deploy script added
* GAS_LIMIT added to .env.tempalte
* typechain-types added to .gitignore
* typechain added to hardhat config
* tsconfig added
* added scripts to package.json
* added verifyContract hardhat task
* modified README.md
* deploy script fleshed out
* remove gasLimit in resolver
* quick tests setup
* basic test setup
* build-and-test.sh script added
* package.json formatting
* deploy framework and tokens
* SimpleACLResolver tests added
* deploy script cleanup
* SimpleACLResolver.t.sol naming cleanup
* ethers required otherwise typings is weird
* add gas reporter/solidity coverage for hardhat

* Bump ethereum-contracts to 1.2.2 (#791)

* Employment Loan Example: Patch lend function (#786)

* Subgraph 1.3.2 patch (#794)

* I think this is leading to issues w/ subgraph breaking

* actual fix

* this was creating 0 address account token snapshots as it always saves

* update subgraph version

* test case added

ensure no Account or AccountTokenSnapshot entities with the zero address

* missing :

* query mistake

* cleanup + clarification

* allow zero address account/ATS

* incorrect test description

* Subgraph Fix Pt2 (#798)

* I think this is leading to issues w/ subgraph breaking

* actual fix

* this was creating 0 address account token snapshots as it always saves

* update subgraph version

* test case added

ensure no Account or AccountTokenSnapshot entities with the zero address

* missing :

* query mistake

* cleanup + clarification

* allow zero address account/ATS

* incorrect test description

* remove immutable: true test

* test theory

* Revert "test theory"

This reverts commit 5ae2ebd.

* add tests

* test pulling all the subgraph entities which have an `ILightEntity` and ensure that none of them break

* print out the retrieved data

* Update ACL example (#799)

* update ACL example

* update ethereum-contracts to v1.2.2
* utilize ERC1820RegistryCompiled
* fix SFDeployer to take new syntax
* fix Makefile commands

* use cfaLib from sfFramework

* use CFAv1Lib from SFDeployer

* Js-SDK maintenance branch release 0.6.0 (#802)

* Fix a query syntax in subgraph testing (#801)

* fix coverage test path issue

* fix ci: set working-directory correctly

* fix ci

* fix ci

* [skip ci] Add a NOTE to ci

* [778] SlotsBitmapLibrary Property Test Fuzzing (#790)

* CfAv1Library ACL support (#803)

* [RFR] Added logIndex property to events (#800)

* Fix codecov source files (#806)

* [RFR] 654 added a property to order events chronologically (#805)

* Fix ethereum-coverage code coverage  (#808)

* New package: hot-fuzz, a hot fuzz for testing Superfluid protocol and Super Apps (#708)

* Fix the flowlottery hot fuzz temp link (#812)

* add test to hardhat budget nft suite for transferring NFT ownership (#795)

Co-authored-by: Miao ZhiCheng <[email protected]>
Co-authored-by: 0xdavinchee <[email protected]>

* Some small changes (#813)

* docs: add bertux as a contributor for review (#820)

* Hotfuzz improvements (#814)

* update hot-fuzz version due to breaking change

* avalanche-c (#823)

* Avalanche Support Added (#819)

* avalanche support added

* avalanche support added for ethereum-contracts (hardhat), sdk-core in constants.ts and subgraph (config/, networks.json, addresses.template.ts)
* subgraph `README.md` cleanup
* deploy-all-networks variable renaming

* constants for chainId

* js-sdk getConfig update

* add avalanche to networkNameToChainIdMap

* goerli => matic rename

* canonical naming for avalanche-c

* added Avalanche to supertoken deployer Dapp

* readme update

* use canonical naming from truffle-config.js

* use truffle-config canonical names in constants for sdk-core

* fix empty pk case

* matic => polygon-mainnet for sdk-core tests

* new js-sdk/sdk-core versions bumped!

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

* [RFR] Added criticalAtTimestamp entity to subgraph v1 (#822)

* new field added maybeCriticalAtTimestamp account token snapshot
* Added maybeCriticalAtTimestamp account token snapshot
* added to SDK-Core subgraph files
* changed variable name to MAX_SAFE_MILLISECONDS

* [RFR] create account token snapshot log for each account token snapshot updates (#830)

* added logs entitt
* added code for account balance log
* fixed --  added test cases
* fixed ida broken test cases
* comment added
* merged critical at timestamp changes into branch
* added isLiquidationEstimateOptimistic flag
* updated:: as per review comment

* Create folder structure for examples (#804)

* Fixed:: TypeScript error in /Users/mikeghen/Documents/Projects/ricochet-frontend/node_modules/@superfluid-finance/js-sdk/src/InstantDistributionAgreementV1Helper.d.ts(197,19): (#829)

* allow same app registration on testnets and mainnets

* Sdkcore updates new fields and entities changes (#834)

* added account token balance logs and missing field from other story

* Revert "Sdkcore updates new fields and entities changes (#834)" (#836)

This reverts commit cd892eb.

* SDK-Core Release Subgraph Compatibility Tests (#835)

* add subgraph tests in sdk-core tests
* general ci cleanup: quote consistency, remove unused env variables
generate-graphql-schema for correct release in feature, canary and release
use hardhat node instead of truffle and update hardhat.config.ts to point to hardhat node chainId
separate startGanacheAndDeployContracts into startHardhatNode and setupTestEnvironment
* add multiple versions test to ci-pre-release
refactor 5_subgraph_test.ts by taking test functions out
new previous-versions-testing folder which contains queryTests.ts (extracted functions from above), runQueryTests.ts (for running previous-version-tests) and package.json which has sdk-core as a devDep
* generate-graphql-schema before build and release
* only test live subgraph release for sdk-core-release and only test previous sdk-version releases for subgraph release
* use query instead of framework for subgraph query tests + add console.log to see where things are breaking-local subgraph taking too long
* try reusable workflow, use query instead of full framework object
* test and deploy subgraph reusable workflow takes inputs, ci.canary, ci.feature, ci.pre-release cleanup w/ use of reusable workflow, use goerli TEMPORARILY because matic indexing is really slow
* rename call.setup-and-deploy to setup-deploy-and-test, cleanup + uses fix, testing https://github.blog/changelog/2022-01-25-github-actions-reusable-workflows-can-be-referenced-locally/, add test-subgraph-on-previous-sdk-versions to canary build and subgraph deploy, use local-subgraph-rule in test-previous-versions for deploy-subgraph case, LOCAL_SUBGRAPH_URL taken for runQueryTests
* check indexing completeness script added and reusable workflow added for it, deploy subgraph needs build and test w/ previous sdk-core releases to pass
* use matic instead of goerli
* workflow name headline consistency + double quote consistency cleanup + caller files added to dependent paths

* Fix workflow (#839)

* Yellow Paper Latex Pipeline

* Last CI fix  (#840)

* Local subgraph + SDK-Core tests fixes + cleanup

* Sdkcore updates new fields and entities changes (#837)

* Revert "Revert "Sdkcore updates new fields and entities changes (#834)" (#836)"

This reverts commit f8cb3ec.

* require test-subgraph-on-previous-sdk-versions

add test-subgraph-on-previous-sdk-versions to needs before publish-npm-packages job is run

* remove test-subgraph-on-previous-sdk-versions job from ci.canary

Co-authored-by: 0xdavinchee <[email protected]>

* CI Pre Release Draft Fix + CI Canary Cleanup (#843)

* cleanup + fix logic of build files

* generate dev schema + SUBGRAPH_RELEASE_TAG: dev

* only run on deploy to v1 endpoints

* properly select subgraph-release

* file rename + refactor

* trigger ci.feature on any workflow edits given requirement of ci feature workflow for merge

* double quote (#847)

* Re-write rewards-distribution-token using new sdk-core (#833)

Co-authored-by: elvijsTDL <[email protected]>
Co-authored-by: Miao ZhiCheng <[email protected]>
Co-authored-by: saflamini <[email protected]>
Co-authored-by: Joshua Trujillo <[email protected]>
Co-authored-by: Mehul Soni <[email protected]>
Co-authored-by: Lewington-pitsos <[email protected]>
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Co-authored-by: Didi <[email protected]>
Co-authored-by: @Ξthcode <[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.

2 participants