Skip to content

Commit

Permalink
Release/v0.8.0 (#1078)
Browse files Browse the repository at this point in the history
* workflow for releases - checkout code (#902)

* workflow for releases - checkout code

* fetch branches

* setup commiter

* maybe we dont need to switch branches

(cherry picked from commit eba92ab)

* Gateway: Remove Wallet, Nft, Tokens Page. (#887)

* change:
 - remove wallet page
 - remove tokens page
 - remove monster page
 - remove nft page

* fix compilation error

(cherry picked from commit 0c82519)

* Gateway :cleaningup emotions deps (#888)

* cleaning up import of useTheme from emotion

* removed wallet address as not using

* removed fox icon

(cherry picked from commit 7abe704)

* Update release-please.yml (#883)

(cherry picked from commit 061ec64)

* Bundler Release optimization (#900)

* resolve #889

* pr-commenter

* integration test

* package versions

(cherry picked from commit bf216bc)

* Bump eslint-config-prettier from 8.6.0 to 8.8.0 (#898)

Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 8.6.0 to 8.8.0.
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/eslint-config-prettier@v8.6.0...v8.8.0)

---
updated-dependencies:
- dependency-name: eslint-config-prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit be152f5)

* Bump actions/upload-artifact from 2 to 3 (#892)

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@v2...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 87d03c3)

* split PR commenter bc. of changed flow (#907)

* split commenter bc. of changed flow

* naming

(cherry picked from commit dd8b367)

* Gateway: fix to get rid of errors while building, temporarily (#908)

* fix for typing errors
* removed mui/types

(cherry picked from commit a2e75a6)

* Add BNB AA example & Add BNB testnet config (#909)

* bnb integ test

* docs

* docs

* Update aa-bundler-sdk-pr.yml

* Update README.md

(cherry picked from commit f2373ae)

* HybridCompute starter goerli redeployment (#911)

* hc starter goerli redeployment

* naming

(cherry picked from commit 14e6842)

* Add AA Examples (#939)

* bnb integ test

* docs

* docs

* Update aa-bundler-sdk-pr.yml

* aa-examples

* Update README.md

* Update README.md

* Update README.md

* Delete index.js

* Delete index.js

* Update index.ts

* Update index.ts

(cherry picked from commit 813cdb4)

* Bump @openzeppelin/contracts-upgradeable (#917)

Bumps [@openzeppelin/contracts-upgradeable](https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable) from 4.3.2 to 4.9.1.
- [Release notes](https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable/releases)
- [Changelog](https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable/blob/v4.9.1/CHANGELOG.md)
- [Commits](OpenZeppelin/openzeppelin-contracts-upgradeable@v4.3.2...v4.9.1)

---
updated-dependencies:
- dependency-name: "@openzeppelin/contracts-upgradeable"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 35cb106)

* Deploy audit contracts to goerli (#941)

(cherry picked from commit 774f9bb)

* Bump @openzeppelin/contracts in /boba_community/hc-start (#938)

Bumps [@openzeppelin/contracts](https://github.com/OpenZeppelin/openzeppelin-contracts) from 4.8.0 to 4.9.1.
- [Release notes](https://github.com/OpenZeppelin/openzeppelin-contracts/releases)
- [Changelog](https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.9.1/CHANGELOG.md)
- [Commits](OpenZeppelin/openzeppelin-contracts@v4.8.0...v4.9.1)

---
updated-dependencies:
- dependency-name: "@openzeppelin/contracts"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 2699da3)

* Bump @openzeppelin/contracts in /boba_community/hc-captcha-faucet (#932)

Bumps [@openzeppelin/contracts](https://github.com/OpenZeppelin/openzeppelin-contracts) from 4.4.2 to 4.9.1.
- [Release notes](https://github.com/OpenZeppelin/openzeppelin-contracts/releases)
- [Changelog](https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.9.1/CHANGELOG.md)
- [Commits](OpenZeppelin/openzeppelin-contracts@v4.4.2...v4.9.1)

---
updated-dependencies:
- dependency-name: "@openzeppelin/contracts"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 0135b17)

* Adding storybook support (#845)

* Adding storybook support

* removing setupFilesAfterEnv from package.json

* adding storybook first component button to start to work on this

* remove hover as other type of button

* adding new components to styorybook

* adding engine fix + resolving some ts issues

* Adding SVG component + Dropdown component

* upgrade nodejs version to 16x

* conflict fixes

* fixing issues on mui

* update components styles

* upgrade background styles

* adding final details

* updating Modal to StyledComponents + adding new colors for each themes

* removing globalstyle from themeProvider

* remove banxa serverless

---------
Co-authored-by: Sahil Kashetwar <sahil@enya.ai>

(cherry picked from commit 3e11d0e)

* Bump docker/login-action from 1 to 2 (#944)

Bumps [docker/login-action](https://github.com/docker/login-action) from 1 to 2.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](docker/login-action@v1...v2)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit b6ca351)

* Bump webfactory/ssh-agent from 0.4.1 to 0.8.0 (#945)

Bumps [webfactory/ssh-agent](https://github.com/webfactory/ssh-agent) from 0.4.1 to 0.8.0.
- [Release notes](https://github.com/webfactory/ssh-agent/releases)
- [Changelog](https://github.com/webfactory/ssh-agent/blob/master/CHANGELOG.md)
- [Commits](webfactory/ssh-agent@v0.4.1...v0.8.0)

---
updated-dependencies:
- dependency-name: webfactory/ssh-agent
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit a616057)

* Bump jwalton/gh-docker-logs from 1 to 2 (#946)

Bumps [jwalton/gh-docker-logs](https://github.com/jwalton/gh-docker-logs) from 1 to 2.
- [Release notes](https://github.com/jwalton/gh-docker-logs/releases)
- [Changelog](https://github.com/jwalton/gh-docker-logs/blob/master/.releaserc)
- [Commits](jwalton/gh-docker-logs@v1...v2)

---
updated-dependencies:
- dependency-name: jwalton/gh-docker-logs
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 358e668)

* default is node 14, we have to bump to 16 (#956)

* default is node 14, we have to bump to 16

* Update boba-publish-develop.yml login action

(cherry picked from commit 45ee40a)

* Bump actions/setup-python from 2 to 4 (#948)

Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 4.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@v2...v4)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 22fdf6c)

* Gateway: Typography / Heading implementation (#954)

* change:
 - Typography component with stories to render view
 - Typography supports variant, head, title, body1,2,3, subtitle
 - Heading component with stories to render view
 - Heading supports variant of h1, h2, h3, h4, h5, h6
 - Created the global styles specific to theme and added font s
for Montserrat & Roboto.

* change:
 - move font import to public index.html
 - added snapshot testing for typography & heading

* partial changes

* fix for resolving paths & other crashes

* prepare the Header Component and Paritally done with story

* fix for test cases

* created menu / theme switcher component for header along with basic test setup

* added test scenario sample to update

* fix for story on header page

(cherry picked from commit 32468fc)

* Feat/adding types and test (#961)

* adding test and types for each single global components

* update name on renders

* updated the coverage report paths

---------

Co-authored-by: Sahil Kashetwar <sahil@enya.ai>
(cherry picked from commit 7c57271)

* Switch from file-based db to postgresql with DB migrations (#822)

* stage pre

* install

* typeorm

* typeorm, tests debugging

* Delete package-lock.json

* progress

* debug

* fixed tests

* logging

* depcheck

* teleporter moved over to integration tests

* Update packages/boba/teleportation/package.json

Co-authored-by: Ino Murko <ino.murko.github@protonmail.com>

* change teleporter env name

* tests passing

* cleanup

* rm only

* Updated config.yml

* Updated config.yml

* db circleci fix

* Updated config.yml

Updated config.yml

Updated config.yml

Updated config.yml

* uplocal

* Updated config.yml

* Update up_local.sh

* Updated config.yml

* Updated config.yml

* Updated config.yml

* fix-dockerfilepackages

* unused dep

* Update ts-packages.yml

* rm-nodes

* move teleporter tests

test-debug

refactor-fix

move teleporter tests over to shared

only fix

* alt<>eth erc1155 test should be the same now

* depcheckrc

* rm-db-tests

* Update ts-packages.yml

* integ test

* consistency check 2

* cleanup

---------

Co-authored-by: Ino Murko <ino.murko.github@protonmail.com>
(cherry picked from commit ccad531)

* Bump @openzeppelin/contracts-upgradeable (#970)

Bumps [@openzeppelin/contracts-upgradeable](https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable) from 4.9.1 to 4.9.2.
- [Release notes](https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable/releases)
- [Changelog](https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable/blob/v4.9.2/CHANGELOG.md)
- [Commits](OpenZeppelin/openzeppelin-contracts-upgradeable@v4.9.1...v4.9.2)

---
updated-dependencies:
- dependency-name: "@openzeppelin/contracts-upgradeable"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit cd00c1c)

* Bump actions/setup-node from 1 to 3 (#964)

Bumps [actions/setup-node](https://github.com/actions/setup-node) from 1 to 3.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](actions/setup-node@v1...v3)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 505bf5d)

* Bump actions/setup-go from 2 to 4 (#962)

Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 4.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](actions/setup-go@v2...v4)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit af7e86b)

* Bump actions/checkout from 1 to 3 (#963)

Bumps [actions/checkout](https://github.com/actions/checkout) from 1 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v1...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 3b6bfb3)

* Cleanup ecosystem page from gateway! (#980)

(cherry picked from commit 3909c60)

* dont run if you're not changing specific code (#983)

* dont run if not changed specific code

* add ops and ops_boba

(cherry picked from commit b2a2eab)

* Feat/background page title plus (#981)

* background component + move table component to tsx + remove mui on table component

* Adding PageTitle component + Background component

* fix the font-family & PageTitle

* adding cases without slug, and no render on doesn't get title

* fix for the failing tset

* background position based on url

---------

Co-authored-by: Sahil Kashetwar <sahil@enya.ai>
(cherry picked from commit f2f3e0a)

* Bump @openzeppelin/contracts from 4.7.3 to 4.9.2 in /packages/boba/bundler (#971)

* Bump @openzeppelin/contracts in /packages/boba/bundler

Bumps [@openzeppelin/contracts](https://github.com/OpenZeppelin/openzeppelin-contracts) from 4.7.3 to 4.9.2.
- [Release notes](https://github.com/OpenZeppelin/openzeppelin-contracts/releases)
- [Changelog](https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.9.2/CHANGELOG.md)
- [Commits](OpenZeppelin/openzeppelin-contracts@v4.7.3...v4.9.2)

---
updated-dependencies:
- dependency-name: "@openzeppelin/contracts"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* remove unused dep - @openzeppelin/contracts

* revert removal changes

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: souradeep-das <dsouradeep2@gmail.com>
(cherry picked from commit e955ed1)

* Bump requests from 2.28.1 to 2.31.0 in /ops/check-changed (#984)

Bumps [requests](https://github.com/psf/requests) from 2.28.1 to 2.31.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](psf/requests@v2.28.1...v2.31.0)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 7e2dd15)

* gcc might not be needed (#979)

(cherry picked from commit d5f490d)

* Bump yargs from 16.2.0 to 17.7.2 (#986)

Bumps [yargs](https://github.com/yargs/yargs) from 16.2.0 to 17.7.2.
- [Release notes](https://github.com/yargs/yargs/releases)
- [Changelog](https://github.com/yargs/yargs/blob/main/CHANGELOG.md)
- [Commits](yargs/yargs@v16.2.0...v17.7.2)

---
updated-dependencies:
- dependency-name: yargs
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit c05a6d7)

* Bump @apollo/client from 3.7.3 to 3.7.16 (#987)

Bumps [@apollo/client](https://github.com/apollographql/apollo-client) from 3.7.3 to 3.7.16.
- [Release notes](https://github.com/apollographql/apollo-client/releases)
- [Changelog](https://github.com/apollographql/apollo-client/blob/main/CHANGELOG.md)
- [Commits](apollographql/apollo-client@v3.7.3...v3.7.16)

---
updated-dependencies:
- dependency-name: "@apollo/client"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 52c5e66)

* bump python (#985)

* bump python

* docker update

* docker update in master builder

(cherry picked from commit 526f7cd)

* Bump actions/cache from 2 to 3 (#947)

Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](actions/cache@v2...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 0f32277)

* Updated documentation to fix small typos and add more information (#992)

(cherry picked from commit 7e52d63)

* docs: add Boba Network Audit Reports (#998)

* add Boba Network Audit Reports

* rem no commit disclaimers

(cherry picked from commit 6a023de)

* docs: add docs to entryPointWrapper contract (#1003)

* add docs to epWrapper contract

* add docs to epWrapper contract

* add docs to epWrapper contract

(cherry picked from commit f8c3ee5)

* Bump chalk from 4.1.2 to 5.3.0 (#1002)

Bumps [chalk](https://github.com/chalk/chalk) from 4.1.2 to 5.3.0.
- [Release notes](https://github.com/chalk/chalk/releases)
- [Commits](chalk/chalk@v4.1.2...v5.3.0)

---
updated-dependencies:
- dependency-name: chalk
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 59b0ad1)

* Deploy contracts to Mainnet (#997)

(cherry picked from commit f65185e)

* Gateway : moonbeam / fantom cleanup from develop branch (#1000)

* change: moonbeam / fantom cleanup
 - removed icons
 - removed config reference
 - removed addresses from app.service.js
 - removed address files from boba/packages/register/address
 - cleanup constants and amountconverter
 - updated network util.

* cleanup register address for fantom & moonbeam [Testnet / Mainnet]

(cherry picked from commit a8180c9)

* use yq via docker (#1005)

(cherry picked from commit 71d6015)

* Teleporter routes (#959)

* first major refactoring of teleporter

* teleporter - refactoring

* checkpoint 3

* e2e & teleporter service tests succeeding

* adapted teleportation service, slicing etc - all tests run through

* random token e2e tests

* added native/token tests to other networks

* max-min deposit amount refactoring - tests run through again

* merged more methods together - e2e tests pass

* merged teleport

* merged disburse

* added simple asset routing

* comment

* resiliency of asset support

* only

* dual fee

* debug

* native <> token routing, general routing works - all tests succeed

* only

* eth-tests

* branch coverage, cleanup, gas effeciency, ..

* slither fixes

* boba as a fee token

* checkpoint alt

* failed disbursement strategy

* fix-alt-msgval-test

* fix-integ

* remove-unneeded-test

* rm-moonbeam

* adapt-teleporter-addresses

* deployment documentation

* debug

* redeployment-alt-networks

* db-service-config

* testnet tests succeed,  full test token<>token alt<>alt, full native<>token alt<>goerli

* update-heights

* added l1 networks

* goerli deployment - teleporter

* multicall-goerli-depl

* goerli l1 <> goerli l2 succeeded

* fix integration tests

* tests

* integration_tests-fixed

* merge

* alt

* service & integ successful

* ready

* Update teleportation.spec.ts

* Update teleportation.spec.ts

* Update packages/boba/contracts/contracts/Teleportation.sol

Co-authored-by: Ino Murko <ino.murko.github@protonmail.com>

* Update packages/boba/contracts/contracts/Teleportation.sol

Co-authored-by: Ino Murko <ino.murko.github@protonmail.com>

* Update packages/boba/contracts/contracts/Teleportation.sol

Co-authored-by: Ino Murko <ino.murko.github@protonmail.com>

* more-independent-tests

* clean

* interface-checker

* rm-erc165-checker

* fix

* teleporter-feedback

* token-chain-relation

* service+tests

* redeployment-contracts

* chainconfig

* debug

* integration_test-fix

* tests-work

* Documentation

* Update chains.ts

---------

Co-authored-by: Ino Murko <ino.murko.github@protonmail.com>
(cherry picked from commit b9c46f0)

* Bump html-react-parser from 1.4.14 to 4.0.0 (#950)

Bumps [html-react-parser](https://github.com/remarkablemark/html-react-parser) from 1.4.14 to 4.0.0.
- [Release notes](https://github.com/remarkablemark/html-react-parser/releases)
- [Changelog](https://github.com/remarkablemark/html-react-parser/blob/master/CHANGELOG.md)
- [Commits](remarkablemark/html-react-parser@v1.4.14...v4.0.0)

---
updated-dependencies:
- dependency-name: html-react-parser
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: alvaro-ricotta <81116391+alvaro-ricotta@users.noreply.github.com>
Co-authored-by: Sahil K <86316370+sk-enya@users.noreply.github.com>
(cherry picked from commit b2895bb)

* Fix faucets (tmp) (#995)

* updated-node-versions-serverless-redeployed-goerli

* fixed faucets

(cherry picked from commit 8f7ce6b)

* resolves #959, souradeeps feedback (#1008)

(cherry picked from commit a0ff5a9)

* Fraud detector local fix (#994)

* made fixes to local fraud detector

* minor revert

* minor update

* reverted changes to docker compose

* reverted changes to docker-compose.yml

* revert file back to original docker-compose.yml

(cherry picked from commit 2ae5a78)

* Bump @storybook/addon-links from 7.0.18 to 7.0.24 (#1001)

Bumps [@storybook/addon-links](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/links) from 7.0.18 to 7.0.24.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v7.0.24/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v7.0.24/code/addons/links)

---
updated-dependencies:
- dependency-name: "@storybook/addon-links"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit f934b23)

* Move DisburserKey to AWS KMS (Teleporter) (#1010)

* kms sdk v3, ethers, signing works

* approve-works

* integrated-kms-in-service

* integration - final

* env-works

* tests-work

* cleanup

* rm-only

* Delete package-lock.json

* logs

* lint

* fix-avax-seed

* fix-bnb-seed

(cherry picked from commit 47226d5)

* Feat/page header footer design (#982)

* added test cases for themeswitcher

* test cases for menu list

* updated test cases for layout header page

* footer implemenation

* Implementation of footer design

* design fixes of footer on light mode

* added stories for footer

* added font's for roboto and monteserrat

* fix storybook to render font's correctly

* fix for connect button

* partial changes

* change:
 - Simplified the Home component
 - Notification component to render alerts.
 - Moved all modal from home to ModalContainers.
 - Updated the styles for the Home Container.

* - created hook for useOnboard & useWalletConnect
- Updated home components.
- Removed fetching dao specific data from home
- NS cleanup

* added fee switcher

* added fee switcher to header component

* gaswatcher to be migrated to typescript

* fix for select dropdown & gasWatcher component

* fix for select styles

* fix for storybook breaking & gas undefined error

* fix for gas

* Fix connect button after close connect modal

* removed font files, loaded from google, updated comment

* change:
 - cleanup old notification class & reducer.
 - removed pager.modules.scss & added style.ts.

* reverted the index.scss & index.js

* added types for custom files

* updated test snapshots

* test fixes gateway

---------

Co-authored-by: alvaro-ricotta <alvaro.e.ricotta@gmail.com>
(cherry picked from commit 7aecfad)

* Bump react-router-dom from 6.6.2 to 6.14.1 (#1012)

Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.6.2 to 6.14.1.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.14.1/packages/react-router-dom)

---
updated-dependencies:
- dependency-name: react-router-dom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 4628aac)

* Bump @storybook/addon-toolbars from 7.0.18 to 7.0.26 (#1013)

Bumps [@storybook/addon-toolbars](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/toolbars) from 7.0.18 to 7.0.26.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v7.0.26/code/addons/toolbars)

---
updated-dependencies:
- dependency-name: "@storybook/addon-toolbars"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 638c7b8)

* Bump eslint-plugin-react from 7.31.11 to 7.32.2 (#1011)

Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) from 7.31.11 to 7.32.2.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases)
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](jsx-eslint/eslint-plugin-react@v7.31.11...v7.32.2)

---
updated-dependencies:
- dependency-name: eslint-plugin-react
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 370c5c5)

* Bump eslint-plugin-jsdoc from 35.5.1 to 46.2.6 (#951)

* Bump eslint-plugin-jsdoc from 35.5.1 to 46.2.6

Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 35.5.1 to 46.2.6.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc)
- [Commits](gajus/eslint-plugin-jsdoc@v35.5.1...v46.2.6)

---
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* deprecated newline-after-description

* default is node 14, we have to bump to 16

* default is node 14, we have to bump to 16

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ino Murko <2582555+InoMurko@users.noreply.github.com>
(cherry picked from commit aa7a959)

* Feat/stake gateway2.5 updates (#1006)

* initial dao page

* update test

* Adding DAO refactory + icons update + linearProgres + new modals update

* remove comments on Label components

* update testing

* update tests

* removing new type components on global

* update tab header to myself/to someone else + styles

* remplace default style dropdown and inputs

* adding new test units

* fix conflict merging issue

* fix for fetching proposals from dao page

---------

Co-authored-by: Sahil Kashetwar <sahil@enya.ai>
(cherry picked from commit 50c3ee8)

* Deploy Teleportation on testnets & AWS (#1015)

* deployment teleportation testnets

* addresses

(cherry picked from commit dc743e1)

* Implementing AA audit feedback  (#1023)

* fixed AA: using oracle method that could return 0

* combine

* tests for AA for latestRound

* final-changes

* fix-integration-tests

* Update packages/boba/account-abstraction/contracts/samples/BobaDepositPaymaster.sol

Co-authored-by: Souradeep Das <dsouradeep2@gmail.com>

* oz downgrade

* undo-solc-change

* Update packages/boba/account-abstraction/contracts/bundler/EntryPointWrapper.sol

Co-authored-by: Souradeep Das <dsouradeep2@gmail.com>

* Update packages/boba/account-abstraction/contracts/bundler/EntryPointWrapper.sol

Co-authored-by: Souradeep Das <dsouradeep2@gmail.com>

---------

Co-authored-by: Souradeep Das <dsouradeep2@gmail.com>
(cherry picked from commit 2804473)

* Simple Captcha faucet (#1020)

* faucet prototype - captcha

* cleanup

* 24h limit

* Update boba_community/hc-captcha-faucet-2023/captcha.py

Co-authored-by: Ino Murko <ino.murko.github@protonmail.com>

* proper error handling, boba token issuance, provider whitelist, , ..

---------

Co-authored-by: Ino Murko <ino.murko.github@protonmail.com>
(cherry picked from commit 157c974)

* Bump mikefarah/yq from 4.34.1 to 4.34.2 (#1032)

(cherry picked from commit 81dd723)

* Bump @storybook/addon-interactions from 7.0.18 to 7.0.27 (#1031)

Bumps [@storybook/addon-interactions](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/interactions) from 7.0.18 to 7.0.27.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v7.0.27/code/addons/interactions)

---
updated-dependencies:
- dependency-name: "@storybook/addon-interactions"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ino Murko <ino.murko.github@protonmail.com>
(cherry picked from commit e2b60d7)

* teleportation audit impl (#1022)

(cherry picked from commit 4f1eb11)

* Bump bcfg from 0.1.7 to 0.2.1 (#1028)

Bumps [bcfg](https://github.com/bcoin-org/bcfg) from 0.1.7 to 0.2.1.
- [Commits](bcoin-org/bcfg@v0.1.7...v0.2.1)

---
updated-dependencies:
- dependency-name: bcfg
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 277bf75)

* Bump pino-pretty from 5.1.3 to 10.0.1 (#1027)

Bumps [pino-pretty](https://github.com/pinojs/pino-pretty) from 5.1.3 to 10.0.1.
- [Release notes](https://github.com/pinojs/pino-pretty/releases)
- [Commits](pinojs/pino-pretty@v5.1.3...v10.0.1)

---
updated-dependencies:
- dependency-name: pino-pretty
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 80361cf)

* Bump sinon from 14.0.2 to 15.2.0 (#1029)

Bumps [sinon](https://github.com/sinonjs/sinon) from 14.0.2 to 15.2.0.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md)
- [Commits](sinonjs/sinon@v14.0.2...v15.2.0)

---
updated-dependencies:
- dependency-name: sinon
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 77c8838)

* Bump word-wrap from 1.2.3 to 1.2.4 (#1036)

(cherry picked from commit 66ddde4)

* Require a positive balance for the fee token. (#1033)

(cherry picked from commit 613200a)

* Update DiscretionaryExitFee (#976)

Co-authored-by: Souradeep Das <dsouradeep2@gmail.com>
(cherry picked from commit 466a601)

* Wsdt/rm avax teleportation (#1045)

(cherry picked from commit db1a701)

* Bump markdownlint from 0.24.0 to 0.29.0 (#1053)

(cherry picked from commit f2ccd39)

* Bump @emotion/styled from 11.10.5 to 11.11.0 (#1052)

Bumps [@emotion/styled](https://github.com/emotion-js/emotion) from 11.10.5 to 11.11.0.
- [Release notes](https://github.com/emotion-js/emotion/releases)
- [Changelog](https://github.com/emotion-js/emotion/blob/main/CHANGELOG.md)
- [Commits](https://github.com/emotion-js/emotion/compare/@emotion/styled@11.10.5...@emotion/styled@11.11.0)

---
updated-dependencies:
- dependency-name: "@emotion/styled"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 2187063)

* Bump certifi from 2022.12.7 to 2023.7.22 in /ops/check-changed (#1061)

Bumps [certifi](https://github.com/certifi/python-certifi) from 2022.12.7 to 2023.7.22.
- [Commits](certifi/python-certifi@2022.12.07...2023.07.22)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 84d4d4f)

* Bump commander from 8.3.0 to 11.0.0 (#1055)

Bumps [commander](https://github.com/tj/commander.js) from 8.3.0 to 11.0.0.
- [Release notes](https://github.com/tj/commander.js/releases)
- [Changelog](https://github.com/tj/commander.js/blob/master/CHANGELOG.md)
- [Commits](tj/commander.js@v8.3.0...v11.0.0)

---
updated-dependencies:
- dependency-name: commander
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 04d6a8a)

* Fix/bridge page designing (#1062)

* adding bridging as separate ts component for redesign bridge

* partial bridgig done along with tooltip changes

* change:
 - Added bridge page
 - Added bridge type switcher
 - Added settings modal for bridge
 - Added Styles & Structure for bridge page

* change:
 - bridge chain selection inputs
 - bridge chain switcher with it's functions.
 - bridge chain picker modal
 - bridge token picker modal

* token picker modal

* change:
 - network switcher
 - trigger wrong network modal on changing the network from picker

* change:
 - added Component InputWithButton
 - added Bridge Alert component with it's state with redux
 - bridge to address component with input and paste button
 - Token Input which takes amount and the max button
 - Netowrk Picker fix with alignment change in chains
 -
 -

* prepare separate component for header

* change:
- move amount converter to util use it across app
- making input, max btn to disable when not token selected
- hide up and down arrow of input
- showing errors on input underzero and overmax.

* alert styling based on type

* cleaning up alerts & token on changing network, bridge type, disconnect

* change:
 - storing amount change to redux to use it on hook & confirmation modal
 - On clicking on bridge button show bridge confirm modal
 - Prepare the bridge confirm modal

* partial change for trigger deposits from modal

* change: note about refactoring

* change:
- hook for loading receivable amount
- hook for fetching amount for fast input.
- updated the bridgeInput with recievable amount.

* change:
 - fix: recievable amount Deposit [x]classic [x]fast / Exit  [x]classic [x]fast
 - fix: desitnation gas fee [x]classic [x]fast / Exit  [x]classic [x]fast
 - fix: bridge fee LP in case of fast briding in percentage else zero
 - fix: estimated time [x]classic [x]fast / Exit  [x]classic [x]fast
 - fix: calc max fee of token [x]classic [x]fast / Exit  [x]classic [x]fast

* change:
- fix: zero balance check to disable input & highlight with red border & text.
- fix: Added names on bridge confirm modal
- chore: removed query param based network selection.
- fix: updated names for selected network.
- fix: updated estimated time on bridge confirm dialog.

* fix time on dialog

* fix: enable bridge to address for L1 with classical bridge only

* change:
- fix: closing of settings once switch network
- removed todod
- closing settings modal from wrong network once switch n/w

* change:
- add: loading modal for bridge in progress
- add: modal for bridge success.
- add: Contract call invocation for deposit / exits.
- updated the useBridge hook with modal to show on loading.

* fix: success modal estimate time & network name

* change:
- showing noOfBlocksSinceDeposits/confirmationblocksets on loading modal
- cleaning update bridge state on closing loading modal.
- added function to fetch the latest number of blocks.

* change:
- added blockconfirm sets only for L1-> L2 bridging
- updated the content from please wait moment to your deposit will be ....
- fix: to fetch the block number of tx instead of feature before submitting tx from MM.
- chore: cleanup & refactoring.

* change:
- fix: disable bridge btn if has error, token not selected and amount empty
- fix: close loading modal once block diff is more than 64.

* fix: closing modal onceblock riches equal or more than 64

* change:
fix: moved bridge alerts to separate hooks

* fix: specs

* fix: alerts for OMG network

* change:
fix: style fixes for bridge page
chore: moved trigger bridgealert for value to hook

* fix: cleanup

* fix: checks for bridge alerts for  token withdrwal

* fix: added alerts for classic withdrwal.

* fix: bridge alerts for fast input / deposits

* change:
fix: added 3rd party bridges
fix: updated boba, ehereum icons for networks.

* added icons for 3rd party bridges

* fix: added estimated time stamp on loading screen in case of L1->L2

* change:
fix: light mode theme colors & icons

* change:
- fix: mobile view for header
- fix: mobile view for footer.
- fix: mobile view for bridging
- fix: mobile view for bridging modals

* spanshot fix and test cases update

(cherry picked from commit 52fc848)

* Deploy ETH to BNB Testnet L2 (#1046)

* Deploy ETH to BNB Testnet L2

* Use existing WETH

* Update addressBobaBnbTestnet_0xAee1fb3f4353a9060aEC3943fE932b6Efe35CdAa.json

* Update ETH L2 address

---------

Co-authored-by: Riedl Kevin, Bsc <kevin.riedl@wavect.io>
(cherry picked from commit 3572075)

* [ Gateway ] 3rd Party bridge icons update. (#1069)

(cherry picked from commit c0c775a)

* Bump storybook from 7.0.18 to 7.1.1 (#1072)

Bumps [storybook](https://github.com/storybookjs/storybook/tree/HEAD/code/lib/cli) from 7.0.18 to 7.1.1.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v7.1.1/code/lib/cli)

---
updated-dependencies:
- dependency-name: storybook
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit c0830d6)

* Add weth on bsc for teleportation (#1058)

* add weth on bsc

* use existing weth

* update-l2-weth

(cherry picked from commit 6936311)

* Bump @babel/preset-typescript from 7.21.5 to 7.22.5 (#1073)

* Bump @babel/preset-typescript from 7.21.5 to 7.22.5

Bumps [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript) from 7.21.5 to 7.22.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.22.5/packages/babel-preset-typescript)

---
updated-dependencies:
- dependency-name: "@babel/preset-typescript"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* resolve merge conflicts

* image ubuntu-2204:2022.10.1

* logs in release making

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ino Murko <2582555+InoMurko@users.noreply.github.com>
(cherry picked from commit 26c9c4f)

---------

Co-authored-by: Sahil K <86316370+sk-enya@users.noreply.github.com>
Co-authored-by: Riedl Kevin, Bsc <kevin.riedl@wavect.io>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Boyuan-Chen <46272347+Boyuan-Chen@users.noreply.github.com>
Co-authored-by: alvaro-ricotta <81116391+alvaro-ricotta@users.noreply.github.com>
Co-authored-by: jemeza <57341979+jemeza@users.noreply.github.com>
Co-authored-by: Souradeep Das <dsouradeep2@gmail.com>
  • Loading branch information
8 people authored Jul 31, 2023
1 parent f0ec957 commit c2a9555
Show file tree
Hide file tree
Showing 666 changed files with 60,780 additions and 15,770 deletions.
42 changes: 29 additions & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,37 @@
#adapted from https://raw.githubusercontent.com/ethereum-optimism/optimism/develop/.circleci/config.yml
version: 2.1

executors:
intergration-tests-executor:
resource_class: xlarge
machine:
image: ubuntu-2004:202111-02
image: ubuntu-2204:2022.10.1
docker_layer_caching: true
environment:
DOCKER_BUILDKIT: 1

commands:
check-changed:
description: "Conditionally halts a step if certain modules change"
parameters:
patterns:
type: string
description: "Comma-separated list of dependencies"
steps:
- run:
name: "Check for changes"
command: |
cd ops/check-changed
pip3 install -r requirements.txt
python3 main.py "<<parameters.patterns>>"
download-solidity-compilers:
steps:
- checkout

- run:
name: Generate cache key from all hardhat.config.ts files
working_directory: ops
command: ./scripts/checksum.sh /tmp/checksum.txt

- restore_cache:
keys:
- solc-compilers-{{ checksum "/tmp/checksum.txt" }}-{{ .Environment.CACHE_VERSION }}
Expand Down Expand Up @@ -53,6 +67,8 @@ commands:
description: Folder to run tests in
type: string
steps:
- check-changed:
patterns: common-ts,contracts,core-utils,data-transport-layer,message-relayer,regenesis-surgery,sdk,integration-tests,l2geth,packages/boba/account-abstraction,packages/boba/bobalink,packages/boba/bundler,packages/boba/bundler_sdk,packages/boba/bundler_utils,packages/boba/contracts,packages/boba/gas-price-oracle,packages/boba/register,packages/boba/teleportation,ops,ops_boba
- run:
name: Build the project
command: yarn && yarn build
Expand All @@ -65,7 +81,13 @@ commands:

- run:
name: Build the side services
command: docker-compose -f <<parameters.docker_compose_file>> -f docker-compose-side.yml build -- $(yq '(.services | keys)[]' <<parameters.docker_compose_file>> | tr '\n' ' ') $(yq '(.services | keys)[]' docker-compose-side.yml | tr '\n' ' ')
command: |
yq() {
docker run --rm -i -v ${PWD}:/workdir mikefarah/yq "$@"
}
echo $(yq '(.services | keys)[]' <<parameters.docker_compose_file>> | tr '\n' ' ')
echo $(yq '(.services | keys)[]' docker-compose-side.yml | tr '\n' ' ')
docker-compose -f <<parameters.docker_compose_file>> -f docker-compose-side.yml build -- $(yq '(.services | keys)[]' <<parameters.docker_compose_file>> | tr '\n' ' ') $(yq '(.services | keys)[]' docker-compose-side.yml | tr '\n' ' ')
working_directory: ops

- run:
Expand All @@ -82,7 +104,7 @@ commands:
- run:
name: Bring up services
command: |
docker-compose -f <<parameters.docker_compose_file>> -f <<parameters.docker_compose_side_file>> up -d bobalink aa_deployer bundler
docker-compose -f <<parameters.docker_compose_file>> -f <<parameters.docker_compose_side_file>> up -d bobalink aa_deployer bundler teleportation_db
working_directory: ops
- run:
name: Start background logging
Expand Down Expand Up @@ -119,6 +141,7 @@ commands:
path: /home/circleci/project/ops/result

jobs:

go-lint-test-build:
parameters:
binary_name:
Expand All @@ -140,15 +163,8 @@ jobs:
- image: cimg/postgres:14.1
steps:
- checkout
- run:
name: Check if we should run
command: |
shopt -s inherit_errexit
CHANGED=$(check-changed "(<<parameters.working_directory>>|<<parameters.dependencies>>)" || echo "TRUE")
echo $CHANGED
if [[ "$CHANGED" = "FALSE" ]]; then
circleci step halt
fi
- check-changed:
patterns: go/proxyd
- run:
name: Lint
command: golangci-lint run -E goimports,sqlclosecheck,bodyclose,asciicheck,misspell,errorlint -e "errors.As" -e "errors.Is" ./...
Expand Down
1 change: 0 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ module.exports = {
indent: 'off',
'jsdoc/check-alignment': 'error',
'jsdoc/check-indentation': 'error',
'jsdoc/newline-after-description': 'error',
'linebreak-style': 'off',
'max-classes-per-file': 'off',
'max-len': 'off',
Expand Down
52 changes: 2 additions & 50 deletions .github/workflows/aa-bundler-sdk-pr.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Will trigger version bump of AA-Bundler for NPM

on:
push:
pull_request:
branches:
- develop
paths:
Expand All @@ -12,6 +12,7 @@ on:

permissions:
contents: write
pull-requests: write

jobs:
build:
Expand Down Expand Up @@ -39,53 +40,4 @@ jobs:
The package that is going to be updated is `@bobanetwork/bundler_sdk`.
- uses: MontyD/package-json-updated-action@1.0.1
id: version-updated
with:
path: packages/boba/bundler_sdk/package.json
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- id: get-latest-tag
working-directory: ./packages/boba/bundler_sdk
run: echo "sdk_current_version=$(cat package.json | jq -r '.version')" >> $GITHUB_OUTPUT

- uses: actions-ecosystem/action-bump-semver@v1
id: bump-semver
with:
current_version: ${{ steps.get-latest-tag.outputs.sdk_current_version }}
level: patch

- name: Increment patch version
if: steps.version-updated.outputs.has-updated == 'true'
working-directory: ./packages/boba/bundler_sdk
run: yarn version patch --no-commit-hooks --no-git-tag-version --new-version ${{ steps.bump-semver.outputs.new_version }}

- name: Create Pull Request
if: steps.version-updated.outputs.has-updated == 'true'
id: cpr
uses: peter-evans/create-pull-request@v5
with:
base: develop
token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
commit-message: Update SDK version
committer: GitHub <noreply@github.com>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
signoff: false
branch: automated/bump_bundler_sdk_version
delete-branch: true
title: 'Bump Bundler SDK version'
body: |
Bump Bundler SDK version
labels: |
automated pr
bundler
bundler sdk
account-abstraction
reviewers: |
souradeep-das
wsdt
Boyuan-Chen
inomurko
draft: false
124 changes: 124 additions & 0 deletions .github/workflows/aa-bundler-sdk-version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
name: Bump of AA-Bundler for NPM

on:
push:
branches:
- develop
paths:
# only on change
- 'packages/boba/bundler_sdk/**/*'
- 'packages/boba/bundler_utils/**/*'
- 'packages/boba/account-abstraction/**/*'

permissions:
contents: write

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
bundler_sdk:
- 'packages/boba/account-abstraction/**/*'
- 'packages/boba/bundler_sdk/**/*'
- 'packages/boba/bundler_utils/**/*'
- uses: MontyD/package-json-updated-action@1.0.1
id: version-updated-aa
with:
path: packages/boba/account-abstraction/package.json
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- uses: MontyD/package-json-updated-action@1.0.1
id: version-updated-utils
with:
path: packages/boba/bundler_utils/package.json
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- uses: MontyD/package-json-updated-action@1.0.1
id: version-updated
with:
path: packages/boba/bundler_sdk/package.json
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- id: get-latest-tag-aa
working-directory: ./packages/boba/account-abstraction
run: echo "aa_current_version=$(cat package.json | jq -r '.version')" >> $GITHUB_OUTPUT

- id: get-latest-tag-utils
working-directory: ./packages/boba/bundler_utils
run: echo "utils_current_version=$(cat package.json | jq -r '.version')" >> $GITHUB_OUTPUT

- id: get-latest-tag
working-directory: ./packages/boba/bundler_sdk
run: echo "sdk_current_version=$(cat package.json | jq -r '.version')" >> $GITHUB_OUTPUT

- uses: actions-ecosystem/action-bump-semver@v1
id: bump-semver-aa
with:
current_version: ${{ steps.get-latest-tag-aa.outputs.aa_current_version }}
level: patch

- uses: actions-ecosystem/action-bump-semver@v1
id: bump-semver-utils
with:
current_version: ${{ steps.get-latest-tag-utils.outputs.utils_current_version }}
level: patch

- uses: actions-ecosystem/action-bump-semver@v1
id: bump-semver
with:
current_version: ${{ steps.get-latest-tag.outputs.sdk_current_version }}
level: patch

- name: Increment patch version - AA
if: steps.version-updated-aa.outputs.has-updated == 'true'
working-directory: ./packages/boba/account-abstraction
run: yarn version patch --no-commit-hooks --no-git-tag-version --new-version ${{ steps.bump-semver-aa.outputs.new_version }}

- name: Increment patch version - BundlerUtils
if: steps.version-updated-utils.outputs.has-updated == 'true'
working-directory: ./packages/boba/bundler_utils
run: yarn version patch --no-commit-hooks --no-git-tag-version --new-version ${{ steps.bump-semver-utils.outputs.new_version }}

- name: Increment patch version - BundlerSDK
if: steps.version-updated.outputs.has-updated == 'true'
working-directory: ./packages/boba/bundler_sdk
run: yarn version patch --no-commit-hooks --no-git-tag-version --new-version ${{ steps.bump-semver.outputs.new_version }}

- name: Create Pull Request
if: steps.version-updated.outputs.has-updated == 'true'
id: cpr
uses: peter-evans/create-pull-request@v5
with:
base: develop
token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
commit-message: Update NPM versions
committer: GitHub <noreply@github.com>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
signoff: false
branch: automated/bump_bundler_sdk_version
delete-branch: true
title: 'Bump Bundler SDK version'
body: |
Bump Bundler SDK version
labels: |
automated pr
bundler
bundler sdk
account-abstraction
reviewers: |
souradeep-das
wsdt
Boyuan-Chen
inomurko
draft: false

14 changes: 13 additions & 1 deletion .github/workflows/aa-bundler-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,19 @@ jobs:
- name: Install dependencies and build 🔧
run: yarn install --frozen-lockfile --legacy-peer-deps && yarn run build

- name: Publish package on NPM 📦
- name: Publish AA package on NPM 📦
working-directory: ./packages/boba/account-abstraction
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_BOBA_FOUNDATION }}

- name: Publish BundlerUtils package on NPM 📦
working-directory: ./packages/boba/bundler_utils
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_BOBA_FOUNDATION }}

- name: Publish BundlerSDK package on NPM 📦
working-directory: ./packages/boba/bundler_sdk
run: npm publish --access public
env:
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/account-abstraction.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/setup-node@v1
- uses: actions/setup-node@v3
with:
node-version: '14'
- uses: actions/checkout@v1
- uses: actions/cache@v2
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }}
Expand All @@ -44,11 +44,11 @@ jobs:
image: dtr22/geth-dev

steps:
- uses: actions/setup-node@v1
- uses: actions/setup-node@v3
with:
node-version: '14'
- uses: actions/checkout@v1
- uses: actions/cache@v2
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }}
Expand All @@ -59,11 +59,11 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v1
- uses: actions/setup-node@v3
with:
node-version: '14'
- uses: actions/checkout@v1
- uses: actions/cache@v2
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }}
Expand All @@ -73,11 +73,11 @@ jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v1
- uses: actions/setup-node@v3
with:
node-version: '14'
- uses: actions/checkout@v1
- uses: actions/cache@v2
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }}
Expand All @@ -86,7 +86,7 @@ jobs:
- run: yarn compile

- run: FORCE_COLOR=1 yarn coverage
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: solidity-coverage
path: |
Expand Down
Loading

0 comments on commit c2a9555

Please sign in to comment.