Skip to content

Commit c2a9555

Browse files
InoMurkosk-enyawsdtdependabot[bot]boyuan-chen
authored
Release/v0.8.0 (#1078)
* 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] <[email protected]> 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] <[email protected]> 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] <[email protected]> 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] <[email protected]> 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] <[email protected]> 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 <[email protected]> (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] <[email protected]> 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] <[email protected]> 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] <[email protected]> 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] <[email protected]> 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 <[email protected]> (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 <[email protected]> * 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 <[email protected]> (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] <[email protected]> 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] <[email protected]> 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] <[email protected]> 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] <[email protected]> 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 <[email protected]> (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] <[email protected]> * remove unused dep - @openzeppelin/contracts * revert removal changes --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: souradeep-das <[email protected]> (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] <[email protected]> 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] <[email protected]> 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] <[email protected]> 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] <[email protected]> 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] <[email protected]> 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 <[email protected]> * Update packages/boba/contracts/contracts/Teleportation.sol Co-authored-by: Ino Murko <[email protected]> * Update packages/boba/contracts/contracts/Teleportation.sol Co-authored-by: Ino Murko <[email protected]> * 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 <[email protected]> (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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: alvaro-ricotta <[email protected]> Co-authored-by: Sahil K <[email protected]> (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] <[email protected]> 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 <[email protected]> (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/[email protected]/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] <[email protected]> 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] <[email protected]> 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] <[email protected]> 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] <[email protected]> * 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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ino Murko <[email protected]> (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 <[email protected]> (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 <[email protected]> * oz downgrade * undo-solc-change * Update packages/boba/account-abstraction/contracts/bundler/EntryPointWrapper.sol Co-authored-by: Souradeep Das <[email protected]> * Update packages/boba/account-abstraction/contracts/bundler/EntryPointWrapper.sol Co-authored-by: Souradeep Das <[email protected]> --------- Co-authored-by: Souradeep Das <[email protected]> (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 <[email protected]> * proper error handling, boba token issuance, provider whitelist, , .. --------- Co-authored-by: Ino Murko <[email protected]> (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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ino Murko <[email protected]> (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] <[email protected]> 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] <[email protected]> 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] <[email protected]> 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 <[email protected]> (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/[email protected]...@emotion/[email protected]) --- updated-dependencies: - dependency-name: "@emotion/styled" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> 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] <[email protected]> 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] <[email protected]> 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 <[email protected]> (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] <[email protected]> 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] <[email protected]> * resolve merge conflicts * image ubuntu-2204:2022.10.1 * logs in release making --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ino Murko <[email protected]> (cherry picked from commit 26c9c4f) --------- Co-authored-by: Sahil K <[email protected]> Co-authored-by: Riedl Kevin, Bsc <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Boyuan-Chen <[email protected]> Co-authored-by: alvaro-ricotta <[email protected]> Co-authored-by: jemeza <[email protected]> Co-authored-by: Souradeep Das <[email protected]>
1 parent f0ec957 commit c2a9555

File tree

666 files changed

+60780
-15770
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

666 files changed

+60780
-15770
lines changed

.circleci/config.yml

Lines changed: 29 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,37 @@
1-
#adapted from https://raw.githubusercontent.com/ethereum-optimism/optimism/develop/.circleci/config.yml
21
version: 2.1
32

43
executors:
54
intergration-tests-executor:
65
resource_class: xlarge
76
machine:
8-
image: ubuntu-2004:202111-02
7+
image: ubuntu-2204:2022.10.1
98
docker_layer_caching: true
109
environment:
1110
DOCKER_BUILDKIT: 1
1211

1312
commands:
13+
check-changed:
14+
description: "Conditionally halts a step if certain modules change"
15+
parameters:
16+
patterns:
17+
type: string
18+
description: "Comma-separated list of dependencies"
19+
steps:
20+
- run:
21+
name: "Check for changes"
22+
command: |
23+
cd ops/check-changed
24+
pip3 install -r requirements.txt
25+
python3 main.py "<<parameters.patterns>>"
1426
download-solidity-compilers:
1527
steps:
1628
- checkout
29+
1730
- run:
1831
name: Generate cache key from all hardhat.config.ts files
1932
working_directory: ops
2033
command: ./scripts/checksum.sh /tmp/checksum.txt
34+
2135
- restore_cache:
2236
keys:
2337
- solc-compilers-{{ checksum "/tmp/checksum.txt" }}-{{ .Environment.CACHE_VERSION }}
@@ -53,6 +67,8 @@ commands:
5367
description: Folder to run tests in
5468
type: string
5569
steps:
70+
- check-changed:
71+
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
5672
- run:
5773
name: Build the project
5874
command: yarn && yarn build
@@ -65,7 +81,13 @@ commands:
6581

6682
- run:
6783
name: Build the side services
68-
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' ' ')
84+
command: |
85+
yq() {
86+
docker run --rm -i -v ${PWD}:/workdir mikefarah/yq "$@"
87+
}
88+
echo $(yq '(.services | keys)[]' <<parameters.docker_compose_file>> | tr '\n' ' ')
89+
echo $(yq '(.services | keys)[]' docker-compose-side.yml | tr '\n' ' ')
90+
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' ' ')
6991
working_directory: ops
7092

7193
- run:
@@ -82,7 +104,7 @@ commands:
82104
- run:
83105
name: Bring up services
84106
command: |
85-
docker-compose -f <<parameters.docker_compose_file>> -f <<parameters.docker_compose_side_file>> up -d bobalink aa_deployer bundler
107+
docker-compose -f <<parameters.docker_compose_file>> -f <<parameters.docker_compose_side_file>> up -d bobalink aa_deployer bundler teleportation_db
86108
working_directory: ops
87109
- run:
88110
name: Start background logging
@@ -119,6 +141,7 @@ commands:
119141
path: /home/circleci/project/ops/result
120142

121143
jobs:
144+
122145
go-lint-test-build:
123146
parameters:
124147
binary_name:
@@ -140,15 +163,8 @@ jobs:
140163
- image: cimg/postgres:14.1
141164
steps:
142165
- checkout
143-
- run:
144-
name: Check if we should run
145-
command: |
146-
shopt -s inherit_errexit
147-
CHANGED=$(check-changed "(<<parameters.working_directory>>|<<parameters.dependencies>>)" || echo "TRUE")
148-
echo $CHANGED
149-
if [[ "$CHANGED" = "FALSE" ]]; then
150-
circleci step halt
151-
fi
166+
- check-changed:
167+
patterns: go/proxyd
152168
- run:
153169
name: Lint
154170
command: golangci-lint run -E goimports,sqlclosecheck,bodyclose,asciicheck,misspell,errorlint -e "errors.As" -e "errors.Is" ./...

.eslintrc.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ module.exports = {
106106
indent: 'off',
107107
'jsdoc/check-alignment': 'error',
108108
'jsdoc/check-indentation': 'error',
109-
'jsdoc/newline-after-description': 'error',
110109
'linebreak-style': 'off',
111110
'max-classes-per-file': 'off',
112111
'max-len': 'off',
Lines changed: 2 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Will trigger version bump of AA-Bundler for NPM
22

33
on:
4-
push:
4+
pull_request:
55
branches:
66
- develop
77
paths:
@@ -12,6 +12,7 @@ on:
1212

1313
permissions:
1414
contents: write
15+
pull-requests: write
1516

1617
jobs:
1718
build:
@@ -39,53 +40,4 @@ jobs:
3940
4041
The package that is going to be updated is `@bobanetwork/bundler_sdk`.
4142
42-
- uses: MontyD/[email protected]
43-
id: version-updated
44-
with:
45-
path: packages/boba/bundler_sdk/package.json
46-
env:
47-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
48-
49-
- id: get-latest-tag
50-
working-directory: ./packages/boba/bundler_sdk
51-
run: echo "sdk_current_version=$(cat package.json | jq -r '.version')" >> $GITHUB_OUTPUT
52-
53-
- uses: actions-ecosystem/action-bump-semver@v1
54-
id: bump-semver
55-
with:
56-
current_version: ${{ steps.get-latest-tag.outputs.sdk_current_version }}
57-
level: patch
58-
59-
- name: Increment patch version
60-
if: steps.version-updated.outputs.has-updated == 'true'
61-
working-directory: ./packages/boba/bundler_sdk
62-
run: yarn version patch --no-commit-hooks --no-git-tag-version --new-version ${{ steps.bump-semver.outputs.new_version }}
63-
64-
- name: Create Pull Request
65-
if: steps.version-updated.outputs.has-updated == 'true'
66-
id: cpr
67-
uses: peter-evans/create-pull-request@v5
68-
with:
69-
base: develop
70-
token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
71-
commit-message: Update SDK version
72-
committer: GitHub <[email protected]>
73-
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
74-
signoff: false
75-
branch: automated/bump_bundler_sdk_version
76-
delete-branch: true
77-
title: 'Bump Bundler SDK version'
78-
body: |
79-
Bump Bundler SDK version
80-
labels: |
81-
automated pr
82-
bundler
83-
bundler sdk
84-
account-abstraction
85-
reviewers: |
86-
souradeep-das
87-
wsdt
88-
Boyuan-Chen
89-
inomurko
90-
draft: false
9143
Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
name: Bump of AA-Bundler for NPM
2+
3+
on:
4+
push:
5+
branches:
6+
- develop
7+
paths:
8+
# only on change
9+
- 'packages/boba/bundler_sdk/**/*'
10+
- 'packages/boba/bundler_utils/**/*'
11+
- 'packages/boba/account-abstraction/**/*'
12+
13+
permissions:
14+
contents: write
15+
16+
jobs:
17+
build:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@v3
21+
22+
- uses: dorny/paths-filter@v2
23+
id: filter
24+
with:
25+
filters: |
26+
bundler_sdk:
27+
- 'packages/boba/account-abstraction/**/*'
28+
- 'packages/boba/bundler_sdk/**/*'
29+
- 'packages/boba/bundler_utils/**/*'
30+
31+
- uses: MontyD/[email protected]
32+
id: version-updated-aa
33+
with:
34+
path: packages/boba/account-abstraction/package.json
35+
env:
36+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37+
38+
- uses: MontyD/[email protected]
39+
id: version-updated-utils
40+
with:
41+
path: packages/boba/bundler_utils/package.json
42+
env:
43+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44+
45+
- uses: MontyD/[email protected]
46+
id: version-updated
47+
with:
48+
path: packages/boba/bundler_sdk/package.json
49+
env:
50+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
51+
52+
- id: get-latest-tag-aa
53+
working-directory: ./packages/boba/account-abstraction
54+
run: echo "aa_current_version=$(cat package.json | jq -r '.version')" >> $GITHUB_OUTPUT
55+
56+
- id: get-latest-tag-utils
57+
working-directory: ./packages/boba/bundler_utils
58+
run: echo "utils_current_version=$(cat package.json | jq -r '.version')" >> $GITHUB_OUTPUT
59+
60+
- id: get-latest-tag
61+
working-directory: ./packages/boba/bundler_sdk
62+
run: echo "sdk_current_version=$(cat package.json | jq -r '.version')" >> $GITHUB_OUTPUT
63+
64+
- uses: actions-ecosystem/action-bump-semver@v1
65+
id: bump-semver-aa
66+
with:
67+
current_version: ${{ steps.get-latest-tag-aa.outputs.aa_current_version }}
68+
level: patch
69+
70+
- uses: actions-ecosystem/action-bump-semver@v1
71+
id: bump-semver-utils
72+
with:
73+
current_version: ${{ steps.get-latest-tag-utils.outputs.utils_current_version }}
74+
level: patch
75+
76+
- uses: actions-ecosystem/action-bump-semver@v1
77+
id: bump-semver
78+
with:
79+
current_version: ${{ steps.get-latest-tag.outputs.sdk_current_version }}
80+
level: patch
81+
82+
- name: Increment patch version - AA
83+
if: steps.version-updated-aa.outputs.has-updated == 'true'
84+
working-directory: ./packages/boba/account-abstraction
85+
run: yarn version patch --no-commit-hooks --no-git-tag-version --new-version ${{ steps.bump-semver-aa.outputs.new_version }}
86+
87+
- name: Increment patch version - BundlerUtils
88+
if: steps.version-updated-utils.outputs.has-updated == 'true'
89+
working-directory: ./packages/boba/bundler_utils
90+
run: yarn version patch --no-commit-hooks --no-git-tag-version --new-version ${{ steps.bump-semver-utils.outputs.new_version }}
91+
92+
- name: Increment patch version - BundlerSDK
93+
if: steps.version-updated.outputs.has-updated == 'true'
94+
working-directory: ./packages/boba/bundler_sdk
95+
run: yarn version patch --no-commit-hooks --no-git-tag-version --new-version ${{ steps.bump-semver.outputs.new_version }}
96+
97+
- name: Create Pull Request
98+
if: steps.version-updated.outputs.has-updated == 'true'
99+
id: cpr
100+
uses: peter-evans/create-pull-request@v5
101+
with:
102+
base: develop
103+
token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
104+
commit-message: Update NPM versions
105+
committer: GitHub <[email protected]>
106+
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
107+
signoff: false
108+
branch: automated/bump_bundler_sdk_version
109+
delete-branch: true
110+
title: 'Bump Bundler SDK version'
111+
body: |
112+
Bump Bundler SDK version
113+
labels: |
114+
automated pr
115+
bundler
116+
bundler sdk
117+
account-abstraction
118+
reviewers: |
119+
souradeep-das
120+
wsdt
121+
Boyuan-Chen
122+
inomurko
123+
draft: false
124+

.github/workflows/aa-bundler-sdk.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,19 @@ jobs:
1919
- name: Install dependencies and build 🔧
2020
run: yarn install --frozen-lockfile --legacy-peer-deps && yarn run build
2121

22-
- name: Publish package on NPM 📦
22+
- name: Publish AA package on NPM 📦
23+
working-directory: ./packages/boba/account-abstraction
24+
run: npm publish --access public
25+
env:
26+
NODE_AUTH_TOKEN: ${{ secrets.NPM_BOBA_FOUNDATION }}
27+
28+
- name: Publish BundlerUtils package on NPM 📦
29+
working-directory: ./packages/boba/bundler_utils
30+
run: npm publish --access public
31+
env:
32+
NODE_AUTH_TOKEN: ${{ secrets.NPM_BOBA_FOUNDATION }}
33+
34+
- name: Publish BundlerSDK package on NPM 📦
2335
working-directory: ./packages/boba/bundler_sdk
2436
run: npm publish --access public
2537
env:

.github/workflows/account-abstraction.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ jobs:
2424
runs-on: ubuntu-latest
2525

2626
steps:
27-
- uses: actions/setup-node@v1
27+
- uses: actions/setup-node@v3
2828
with:
2929
node-version: '14'
30-
- uses: actions/checkout@v1
31-
- uses: actions/cache@v2
30+
- uses: actions/checkout@v3
31+
- uses: actions/cache@v3
3232
with:
3333
path: node_modules
3434
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }}
@@ -44,11 +44,11 @@ jobs:
4444
image: dtr22/geth-dev
4545

4646
steps:
47-
- uses: actions/setup-node@v1
47+
- uses: actions/setup-node@v3
4848
with:
4949
node-version: '14'
50-
- uses: actions/checkout@v1
51-
- uses: actions/cache@v2
50+
- uses: actions/checkout@v3
51+
- uses: actions/cache@v3
5252
with:
5353
path: node_modules
5454
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }}
@@ -59,11 +59,11 @@ jobs:
5959
lint:
6060
runs-on: ubuntu-latest
6161
steps:
62-
- uses: actions/setup-node@v1
62+
- uses: actions/setup-node@v3
6363
with:
6464
node-version: '14'
65-
- uses: actions/checkout@v1
66-
- uses: actions/cache@v2
65+
- uses: actions/checkout@v3
66+
- uses: actions/cache@v3
6767
with:
6868
path: node_modules
6969
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }}
@@ -73,11 +73,11 @@ jobs:
7373
coverage:
7474
runs-on: ubuntu-latest
7575
steps:
76-
- uses: actions/setup-node@v1
76+
- uses: actions/setup-node@v3
7777
with:
7878
node-version: '14'
79-
- uses: actions/checkout@v1
80-
- uses: actions/cache@v2
79+
- uses: actions/checkout@v3
80+
- uses: actions/cache@v3
8181
with:
8282
path: node_modules
8383
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }}
@@ -86,7 +86,7 @@ jobs:
8686
- run: yarn compile
8787

8888
- run: FORCE_COLOR=1 yarn coverage
89-
- uses: actions/upload-artifact@v2
89+
- uses: actions/upload-artifact@v3
9090
with:
9191
name: solidity-coverage
9292
path: |

0 commit comments

Comments
 (0)