Skip to content

Conversation

samt1803
Copy link
Contributor

Adding migration script to the network contracts packages.
The script uses the contracts from the smartcontracts package, pulls stream permission data from the DB, compares the permissions to theGraph-synced permissions and then creates streams and permissions, and tries to increment gas prices on stuck transactions.

…ported by thegraph, need to remove the method from abi)
…eams_to_ocr

* origin/master:
  replaced DaisyDomergue as the assignee in the dependabot config (#99)
  ci: bump actions/stale from 4.0.0 to 4.1.0 (#101)
  ci: bump actions/setup-node from 2.4.1 to 2.5.0 (#95)
  renamed subgraph; added deploy-local and deploy from within docker tasks; fix e2eTest script
  renaming of permission attributes (#100)
  build(deps): bump solidity-coverage in /packages/smartcontracts (#89)
  build(deps): bump hardhat-dependency-compiler (#87)
  build(deps): bump @types/chai in /packages/smartcontracts (#52)
  build(deps-dev): bump eslint-plugin-standard (#41)
  build(deps): bump @ethersproject/wallet in /packages/smartcontracts (#69)
  build(deps-dev): bump @types/debug in /packages/smartcontracts (#37)
  build(deps-dev): bump eslint-config-streamr-nodejs (#83)
  build(deps-dev): bump eslint-config-streamr-nodejs (#82)

# Conflicts:
#	packages/smartcontracts/contracts/StreamRegistry/StreamRegistry.sol
#	packages/smartcontracts/package-lock.json
#	packages/smartcontracts/package.json
* master-3:
  [ETH-213] proxyfied registries contracts in dev env (#123)
  Proxify all hardhat upgrades (#118)
  added functionality to create Stream with ENS by triggering a chainli… (#109)
  checking that path characters are only a-z, A-Z, 0-9, -_/. (#111)
  Eth 138 migrate streams to ocr (#102)

# Conflicts:
#	packages/docker-dev-chain-init/package-lock.json
#	packages/smartcontracts/.vscode/launch.json
#	packages/smartcontracts/contracts/StreamRegistry/StreamRegistry.sol
#	packages/smartcontracts/package.json
#	packages/smartcontracts/test/StreamRegistry.test.ts
… uses the contracts sources from the other package to talk to the chain
…eams_to_ocr

* origin/master:
  ETH-244: simplify network contracts workspace (#153)
  replaced an outdated signing library with its new version, replaces a require with import, changed a few types around to make it work (#151)
  Eth 228 streamregistry contract upgrade (#150)
  build: update dependencies (#147)
  chore: update .gitignore
  build(deps-dev): bump eslint-config-streamr-nodejs (#124)
  build(deps-dev): bump @typescript-eslint/eslint-plugin (#142)
  build(deps-dev): bump @types/mocha in /packages/smartcontracts (#125)
  build(deps): bump dotenv in /packages/chainlink-ens-external-adapter (#141)
  fix: fix prod deployment script; Add README part on how to do the prod deployment.
  fix: small fix in theGraph: when through trusted account implcitly creating a stream by setting its metadata the createdAt timestamp was not set. Now it will be
  feat: added created-at and updated-at timestamps to stream in subgraph (#139)
  Update storage node metadata #140
  ci: bump actions/setup-node from 2.5.0 to 2.5.1 (#110)

# Conflicts:
#	package-lock.json
#	package.json
* master-3:
  fix: fixed bug in subgraph if permission is set on a non-existing stream. It will now ignore the eth event
  release: @streamr/config 0.0.1
  build(config): version is not required by 'npm publish' (#170)
  feat: add @streamr/config package (#84)
  comment: updated deployed-on comment in StreamregistryV3
  add V3 streamregistry to preloaded parity chain; fix buildscript some more
  fixed docker-dev-chain-init script

# Conflicts:
#	package-lock.json
#	package.json
@samt1803 samt1803 force-pushed the ETH-138_migrate_streams_to_ocr branch from 62b39d8 to 2777eb3 Compare February 28, 2022 09:11
@samt1803 samt1803 requested a review from jtakalai February 28, 2022 09:14
@samt1803 samt1803 merged commit c406510 into master Mar 2, 2022
@samt1803 samt1803 deleted the ETH-138_migrate_streams_to_ocr branch March 2, 2022 17:38
samt1803 added a commit that referenced this pull request Mar 9, 2022
* master-3: (21 commits)
  feat(config): load config by detecting environment from NODE_ENV (#171)
  feat(config): allow multiple RPC addresses (#201)
  fix: fixed regression bug in migration script
  ci: bump actions/checkout from 2.4.0 to 3 (#192)
  ci: bump actions/stale from 4.1.0 to 5 (#191)
  Eth 138 migrate streams to ocr (#190)
  ci: bump actions/setup-node from 2.5.1 to 3 (#189)
  ci: remove root Npm package from Dependabot config
  ci: increase Dependabot PR limit for smartcontracts
  docs(config): Use correct nomenclature in README
  test(config): rename test
  build: update package.json files based on versions in package-lock.json (#176)
  build(deps-dev): bump solidity-coverage from 0.7.17 to 0.7.20 (#174)
  build(deps-dev): bump @types/node from 16.11.7 to 16.11.25 (#172)
  fix: fixed bug in subgraph if permission is set on a non-existing stream. It will now ignore the eth event
  release: @streamr/config 0.0.1
  build(config): version is not required by 'npm publish' (#170)
  feat: add @streamr/config package (#84)
  comment: updated deployed-on comment in StreamregistryV3
  add V3 streamregistry to preloaded parity chain; fix buildscript some more
  ...

# Conflicts:
#	.gitignore
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