Skip to content

Commit

Permalink
Update otterscan (#19)
Browse files Browse the repository at this point in the history
* Bump @types/react from 18.2.33 to 18.2.34 (#1446)

* Add meta tag to prevent phone number detection on iOS (#1448)

* Use ABI of verified contracts to decode function selectors (#1443)

* Use ABI of verified contracts to decode function selectors

* Add address parameter to use4Bytes function doc

* Apply Sourcify color to MethodName component

* Disable tab/route for now; feature will be postponed to the next release (#1451)

* Remove old gitcoin link

* Bump erigon version

* Bump version

* Bump vite-imagetools from 6.2.1 to 6.2.4 (#1479)

* Bump @testing-library/react from 14.0.0 to 14.1.2 (#1480)

* Bump prettier from 3.0.3 to 3.1.0 (#1478)

* Bump prettier-plugin-organize-imports from 3.2.3 to 3.2.4 (#1476)

* Bump react-intersection-observer from 9.5.2 to 9.5.3 (#1475)

* Bump @types/react from 18.2.34 to 18.2.37 (#1467)

* Bump sb to 7.5.3

* Bump @types/react-highlight from 0.12.7 to 0.12.8 (#1462)

* Bump @types/react-blockies from 1.4.3 to 1.4.4 (#1464)

* Bump @types/react-dom from 18.2.14 to 18.2.15 (#1468)

* Bump @types/react-syntax-highlighter from 15.5.9 to 15.5.10 (#1463)

* Bump @types/jest from 29.5.7 to 29.5.8 (#1470)

* Bump prettier-plugin-tailwindcss from 0.5.6 to 0.5.7 (#1469)

* Using --link as an attempt to optimize build times

* Add Cypress e2e tests and GA workflow (#1481)

* Add Cypress e2e tests and GA workflow

* Add Cypress project ID and enable test recording

* Separate devnet and mainnet e2e tests

* Remove extra brace set

* Use job outputs to decide secret availability

* Add run commands for mainnet and devnet E2E tests

* Add names to check-secrets steps

* Add workflow_dispatch trigger

* Add Action testing for cypress-e2e-tests-2

* Use 127.0.0.1 instead of localhost

* Remove extra branch from push trigger

* Add testing docs

* Bump @vitejs/plugin-react-swc from 3.4.1 to 3.5.0 (#1484)

* Bump @types/react from 18.2.37 to 18.2.38 (#1491)

* Bump typescript from 5.2.2 to 5.3.2 (#1489)

* Bump @types/jest from 29.5.8 to 29.5.10 (#1493)

* Bump @types/react-dom from 18.2.15 to 18.2.17 (#1494)

* Bump vite-plugin-rewrite-all from 1.0.1 to 1.0.2 (#1485)

* Bump react-router-dom from 6.18.0 to 6.20.0 (#1495)

* Better use ci instead of install

* Bump cypress from 13.5.0 to 13.6.0 (#1498)

* Remove commify from raw decoded uints (#1486)

* Enable e2e test runs on branches named feature/**

* Bump vite from 4.5.0 to 5.0.2 (#1499)

* Bump vite from 4.5.0 to 5.0.2

Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.5.0 to 5.0.2.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.0.2/packages/vite)

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

Signed-off-by: dependabot[bot] <[email protected]>

* Remove vite-plugin-rewrite-all dependency

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: sealer3 <[email protected]>

* Use gha cache

* Add --link to everything else

* Improve e2e workflow execution (#1502)

* Remove explicit node setup

* First attempt to make devnet tests use the standard cypress github action

* Make names shorter; cant read them on github UI

* Attempt to fix quotes

* Attempt #2

* Attempt #3

* Attempt #4: see cypress limitations cypress-io/github-action#482

* Remove manual node setup

* Proper golang cache setup

* Beautify script

* Smoke tests (#1503)

* Automate vitalik address navigation smoketest

* Increase timeout for slow page load

* Enable video

* Trying to fix timeouts

* Delete video for successful attempts

* Add wait for page load

* Bump sb to 7.6.1

* Bump vite from 5.0.2 to 5.0.4 (#1518)

* Bump @types/react from 18.2.38 to 18.2.39 (#1512)

* Bump vite-imagetools from 6.2.4 to 6.2.5 (#1506)

* Bump node to v20.10.0 in order to avoid nodejs/node#50136 (#1528)

* Bump @fortawesome/fontawesome-svg-core from 6.4.2 to 6.5.0 (#1517)

* Bump @fortawesome/free-regular-svg-icons from 6.4.2 to 6.5.0 (#1516)

* Bump @fortawesome/free-solid-svg-icons from 6.4.2 to 6.5.0 (#1520)

* Bump @fortawesome/free-brands-svg-icons from 6.4.2 to 6.5.0 (#1522)

* Prevent SectionHighlighter from truncating by default (#1504)

* Remove truncate class from HighlighterBox

* Prevent bytes length label from being selected

* Enable static network discovery (#1529)

* Bump react-helmet-async from 1.3.0 to 2.0.1 (#1492)

* Show parameter names for Sourcify verified contracts in traces (#1473)

* Use checksummed addresses in Token Balances tab (#1477)

* Bump @types/react from 18.2.39 to 18.2.42 (#1567)

* Bump postcss from 8.4.31 to 8.4.32 (#1563)

* Bump sb to 7.6.3 (#1568)

* Bump tspeg from 3.3.0 to 3.3.1 (#1535)

* Bump react-router-dom from 6.20.0 to 6.20.1 (#1564)

* Bump @adobe/css-tools from 4.3.1 to 4.3.2 (#1543)

* Bump @fortawesome/free-brands-svg-icons from 6.5.0 to 6.5.1 (#1550)

* Bump @fortawesome/free-solid-svg-icons from 6.5.0 to 6.5.1 (#1553)

* Add icon and selector to contract error types (#1542)

* Bump @fortawesome/free-regular-svg-icons from 6.5.0 to 6.5.1 (#1556)

* Bump @fortawesome/fontawesome-svg-core from 6.5.0 to 6.5.1 (#1555)

* Bump vite-imagetools from 6.2.5 to 6.2.7 (#1566)

* Bump @testing-library/jest-dom from 6.1.4 to 6.1.5 (#1548)

* Bump react-helmet-async from 2.0.1 to 2.0.3 (#1549)

* Add Prettier workflow (#1559)

* Add Prettier workflow

* Run prettier on entire repo

* Opt out of Storybook telemetry

* Add building to the workflow

* Use the Sourcify web server by default (#1544)

* Don't replace the @ symbol in Sourcify sources (#1558)

* Bump vite from 5.0.4 to 5.0.5 (#1569)

* Use .nvmrc for determining node version (#1570)

* Add e2e test for tx page navigation (#1561)

* Bump vite from 5.0.5 to 5.0.6 (#1574)

* Bump tailwindcss from 3.3.5 to 3.3.6 (#1573)

* Bump actions/setup-go from 4 to 5 (#1578)

* Bump prettier-plugin-tailwindcss from 0.5.7 to 0.5.9 (#1575)

* Bump @types/react-syntax-highlighter from 15.5.10 to 15.5.11 (#1577)

* Bump @types/jest from 29.5.10 to 29.5.11 (#1572)

* Bump cypress from 13.6.0 to 13.6.1 (#1571)

* Bump chart.js from 4.4.0 to 4.4.1 (#1576)

* Add array entry interface and FunctionParamInput redesign (#1471)

* Add array entry interface and FunctionParamInput redesign

* Add extra vertical spacing for Remove buttons

* Fix variable array entry spacing

* Align all buttons

* Use same margin for Add Element as for Query

* Add arrays to ParamDeclaration

* Add more spacing between items and ParamDeclarations

* Add space between parameters of the same function

* Align ParamDeclaration text with Remove button text

* Add e2e test for Read Contract array inputs

* Add mainnet Read Contract test

* Shorten step name

* Display uint256 values with unselectable commas (#1594)

* Display uint256 values with unselectable commas

* Add DisplayInteger story

* Update decimalHint type

* Remove shadow hint

* Bump @types/react from 18.2.42 to 18.2.45 (#1601)

* Bump typescript from 5.3.2 to 5.3.3 (#1587)

* Bump sb to 7.6.4 (#1604)

* Bump vite from 5.0.6 to 5.0.9 (#1602)

* Fix duplicate github actions execution (#1605)

* Remove feature/** branch to avoid duplicate jobs execution

* Also remove it from e2e workflow

* Bump ts-node from 10.9.1 to 10.9.2 (#1592)

* Bump prettier from 3.1.0 to 3.1.1 (#1598)

* Bump actions/upload-artifact from 3 to 4 (#1606)

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

---
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>

* Temporarily disable arm64 docker builds to debug ga issue (#1615)

* Revert "Temporarily disable arm64 docker builds to debug ga issue (#1615)" (#1618)

This reverts commit 394419b.

* Bump @types/react-dom from 18.2.17 to 18.2.18 (#1617)

Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 18.2.17 to 18.2.18.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

---
updated-dependencies:
- dependency-name: "@types/react-dom"
  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>

* Bump vite from 5.0.9 to 5.0.10 (#1611)

Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.0.9 to 5.0.10.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.0.10/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  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>

* Attempt to separate amd64/arm64 builds (#1619)

* Bump react-router-dom from 6.20.1 to 6.21.0 (#1603)

Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.20.1 to 6.21.0.
- [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>

* Bump @fontsource/space-grotesk from 5.0.15 to 5.0.16 (#1589)

Bumps [@fontsource/space-grotesk](https://github.com/fontsource/font-files/tree/HEAD/fonts/google/space-grotesk) from 5.0.15 to 5.0.16.
- [Changelog](https://github.com/fontsource/font-files/blob/main/fonts/google/space-grotesk/CHANGELOG.md)
- [Commits](https://github.com/fontsource/font-files/commits/HEAD/fonts/google/space-grotesk)

---
updated-dependencies:
- dependency-name: "@fontsource/space-grotesk"
  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>

* Bump @fontsource/fira-code from 5.0.15 to 5.0.16 (#1586)

Bumps [@fontsource/fira-code](https://github.com/fontsource/font-files/tree/HEAD/fonts/google/fira-code) from 5.0.15 to 5.0.16.
- [Changelog](https://github.com/fontsource/font-files/blob/main/fonts/google/fira-code/CHANGELOG.md)
- [Commits](https://github.com/fontsource/font-files/commits/HEAD/fonts/google/fira-code)

---
updated-dependencies:
- dependency-name: "@fontsource/fira-code"
  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>

* Bump @fontsource/roboto-mono from 5.0.15 to 5.0.16 (#1588)

Bumps [@fontsource/roboto-mono](https://github.com/fontsource/font-files/tree/HEAD/fonts/google/roboto-mono) from 5.0.15 to 5.0.16.
- [Changelog](https://github.com/fontsource/font-files/blob/main/fonts/google/roboto-mono/CHANGELOG.md)
- [Commits](https://github.com/fontsource/font-files/commits/HEAD/fonts/google/roboto-mono)

---
updated-dependencies:
- dependency-name: "@fontsource/roboto-mono"
  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>

* Bump sb to 7.6.5 (#1620)

* Add copy button to token addresses on Token Balances page (#1596)

* Add copy button to token addresses on Token Balances page

* Remove superfluous class name

* Use TransactionAddressWithCopy instead

* Bump tailwindcss from 3.3.6 to 3.4.0 (#1631)

Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.3.6 to 3.4.0.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](tailwindlabs/tailwindcss@v3.3.6...v3.4.0)

---
updated-dependencies:
- dependency-name: tailwindcss
  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>

* Bump sb to 7.6.6 (#1633)

* Bump react-helmet-async from 2.0.3 to 2.0.4 (#1627)

Bumps [react-helmet-async](https://github.com/staylor/react-helmet-async) from 2.0.3 to 2.0.4.
- [Release notes](https://github.com/staylor/react-helmet-async/releases)
- [Commits](https://github.com/staylor/react-helmet-async/commits)

---
updated-dependencies:
- dependency-name: react-helmet-async
  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>

* Reactivate blocks rewarded support (#1636)

* Revert "Disable tab/route for now; feature will be postponed to the next release (#1451)"

This reverts commit ff4f1e0.

* Rename method

* Reactivate blocks rewarded support; added block fees column

* Update README (#1637)

* Revert "Attempt to separate amd64/arm64 builds (#1619)" (#1638)

This reverts commit aac8d4d.

* Bump version (#1640)

* Fix typo: show as '0 contracts'

* Use checksummed addresses in contract lists

* Add toggle for non-view functions in Read Contract

* Attempt to fix docker ga

* Add setup qemu

* Debug error on npm ci

* Bump @types/react from 18.2.45 to 18.2.46

Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.2.45 to 18.2.46.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

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

Signed-off-by: dependabot[bot] <[email protected]>

* Bump cypress from 13.6.1 to 13.6.2

Bumps [cypress](https://github.com/cypress-io/cypress) from 13.6.1 to 13.6.2.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md)
- [Commits](cypress-io/cypress@v13.6.1...v13.6.2)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump sb to 7.6.7

* Bump @testing-library/user-event from 14.5.1 to 14.5.2

Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 14.5.1 to 14.5.2.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md)
- [Commits](testing-library/user-event@v14.5.1...v14.5.2)

---
updated-dependencies:
- dependency-name: "@testing-library/user-event"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump web-vitals from 3.5.0 to 3.5.1

Bumps [web-vitals](https://github.com/GoogleChrome/web-vitals) from 3.5.0 to 3.5.1.
- [Changelog](https://github.com/GoogleChrome/web-vitals/blob/main/CHANGELOG.md)
- [Commits](GoogleChrome/web-vitals@v3.5.0...v3.5.1)

---
updated-dependencies:
- dependency-name: web-vitals
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump prettier-plugin-tailwindcss from 0.5.9 to 0.5.10

Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.5.9 to 0.5.10.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](tailwindlabs/prettier-plugin-tailwindcss@v0.5.9...v0.5.10)

---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump react-router-dom from 6.21.0 to 6.21.1

Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.21.0 to 6.21.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-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Break overflowing words in Read Contract error messages

* Use 3 pending columns in Blocks Rewarded table

* Bump vite-imagetools from 6.2.7 to 6.2.9

Bumps [vite-imagetools](https://github.com/JonasKruckenberg/imagetools) from 6.2.7 to 6.2.9.
- [Release notes](https://github.com/JonasKruckenberg/imagetools/releases)
- [Commits](https://github.com/JonasKruckenberg/imagetools/commits)

---
updated-dependencies:
- dependency-name: vite-imagetools
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump @testing-library/jest-dom from 6.1.5 to 6.2.0

Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 6.1.5 to 6.2.0.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](testing-library/jest-dom@v6.1.5...v6.2.0)

---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump postcss from 8.4.32 to 8.4.33

Bumps [postcss](https://github.com/postcss/postcss) from 8.4.32 to 8.4.33.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss@8.4.32...8.4.33)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump vite from 5.0.10 to 5.0.11

Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.0.10 to 5.0.11.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.0.11/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Make creation tx hash responsive and truncated

* Bump tailwindcss from 3.4.0 to 3.4.1

Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.4.0 to 3.4.1.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/v3.4.1/CHANGELOG.md)
- [Commits](tailwindlabs/tailwindcss@v3.4.0...v3.4.1)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump prettier-plugin-tailwindcss from 0.5.10 to 0.5.11

Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.5.10 to 0.5.11.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](tailwindlabs/prettier-plugin-tailwindcss@v0.5.10...v0.5.11)

---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Prevent address tab page titles from being overwritten

The AddressMainPage was overwriting the page title with the address page title.

* Show user notices and dev docs in decoded functions

* Add function signature and docs toggle to params table

* Move dev and user docs to Transaction Action section

* Add HelpButton component and apply to function docs

* Simplify component return

* Bump @headlessui/react from 1.7.17 to 1.7.18

Bumps [@headlessui/react](https://github.com/tailwindlabs/headlessui/tree/HEAD/packages/@headlessui-react) from 1.7.17 to 1.7.18.
- [Release notes](https://github.com/tailwindlabs/headlessui/releases)
- [Changelog](https://github.com/tailwindlabs/headlessui/blob/main/packages/@headlessui-react/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/headlessui/commits/@headlessui/[email protected]/packages/@headlessui-react)

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

Signed-off-by: dependabot[bot] <[email protected]>

* Bump react-router-dom from 6.21.1 to 6.21.2

Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.21.1 to 6.21.2.
- [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-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump prettier from 3.1.1 to 3.2.4

Bumps [prettier](https://github.com/prettier/prettier) from 3.1.1 to 3.2.4.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@3.1.1...3.2.4)

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

Signed-off-by: dependabot[bot] <[email protected]>

* Prettier 3.2 now interprets tsconfig.json as jsonc

* Bump @types/react from 18.2.46 to 18.2.48 (#1693)

Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.2.46 to 18.2.48.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  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>

* Bump cypress from 13.6.2 to 13.6.3 (#1699)

Bumps [cypress](https://github.com/cypress-io/cypress) from 13.6.2 to 13.6.3.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md)
- [Commits](cypress-io/cypress@v13.6.2...v13.6.3)

---
updated-dependencies:
- dependency-name: cypress
  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>

* Bump storybook from 7.6.7 to 7.6.9 (#1694)

* Bump storybook from 7.6.7 to 7.6.9

Bumps [storybook](https://github.com/storybookjs/storybook/tree/HEAD/code/lib/cli) from 7.6.7 to 7.6.9.
- [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.6.9/code/lib/cli)

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

Signed-off-by: dependabot[bot] <[email protected]>

* Bump other dependencies

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Willian Mitsuda <[email protected]>

* Bump storybook from 7.6.9 to 7.6.10 (#1708)

* Bump storybook from 7.6.9 to 7.6.10

Bumps [storybook](https://github.com/storybookjs/storybook/tree/HEAD/code/lib/cli) from 7.6.9 to 7.6.10.
- [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.6.10/code/lib/cli)

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

Signed-off-by: dependabot[bot] <[email protected]>

* Bump all sb components

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Willian Mitsuda <[email protected]>

* Bump autoprefixer from 10.4.16 to 10.4.17 (#1709)

Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.16 to 10.4.17.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](postcss/autoprefixer@10.4.16...10.4.17)

---
updated-dependencies:
- dependency-name: autoprefixer
  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>

* Bump vite from 5.0.11 to 5.0.12 (#1712)

Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.0.11 to 5.0.12.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.0.12/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.0.12/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  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>

* Bump react-router-dom from 6.21.2 to 6.21.3 (#1713)

Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.21.2 to 6.21.3.
- [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-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* New attempt to fix docker (#1714)

* Try to split runners (#1715)

* New attempt to fix docker

* Split runners

* Fix (#1716)

* Docker fix 4 (#1717)

* More fixes

* Fix prettier

* Show function signatures (#1681)

* Move function signature above params table

* Show function signature above input params table

* Add blockquote around function docs and increase vertical spacing

* Use keys in FunctionSignature param declarations

* Bump ts-jest from 29.1.1 to 29.1.2 (#1719)

Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 29.1.1 to 29.1.2.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md)
- [Commits](kulshekhar/ts-jest@v29.1.1...v29.1.2)

---
updated-dependencies:
- dependency-name: ts-jest
  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>

* Bump @testing-library/jest-dom from 6.2.0 to 6.3.0 (#1721)

Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 6.2.0 to 6.3.0.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](testing-library/jest-dom@v6.2.0...v6.3.0)

---
updated-dependencies:
- dependency-name: "@testing-library/jest-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>

* Add withdrawals count to epoch page (#1724)

* Add withdrawals count to epoch page

* Handle pre-Capella block responses properly

* Show withdrawals on slot page (#1725)

* Show withdrawals on slot page

* Move withdrawal details row into its own component

* Use TransactionAddress to show selection highlighting

* Add hex-to-zil and fix API calls (#1)

* Add hex-to-zil button

Fix copy button to display new address

Made changes according to comments

* Update image name in Docker publish action (#2)

* Remove publish to GHCR (#3)

* Show contract bytecode in Contract tab (#8)

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

* Display Scilla contract source (#9)

* Add ability to view DS Blocks (#13)

* Changed Runtime Context to contain Zilliqa object

* Reformatted code so that all Pending components are together

* Added basic components for DS Blocks

* Implemented polling for most recent DS Block

* Added function to convert to Otterscan timestamp format

* Added detailed DS Block page

* Added ability to search for DS Blocks using search bar

* Added DS Block List page

* (fix) Make otterscan build again.

* US-322: Can now decode scilla logs. (#16)

* (feat) Scilla log decodes now work.

* (fix) US-322: Fix package-lock.json

* (fix) fix compile issues

* (feat) Show raw receipts.

* (feat) A bit more resilience to improperly formatted receipts.

* (fix) Reverse priority of scilla and EVM log entry decodes
      so that we don't accidentally think any appropriately-formatted EVM log
      is a Scilla log (may need changing back)
(feat) Now understands forwarded errors from EVM contracts that call Scilla
(feat) Can now filter out empty blocks.

* (fix) Remove debugging
(fix) Suppress "no key" warning in decoded scilla params
(fix) update package-lock.json
(fix) ignore .vite directory (working dir)

* (fix) Fix builds.

* (fix) remove publish to github - we can't publish otterscan's images :-)

* (fix) Fix use of invalid variable in AddressTransactionResults.tsx
(fix) Update package-lock.json

* (fix) Make otterscan compile again
(fix) In-line address converter and copy icons

* (fix) Better spacing for address display
(fix) More API fixes

* Update ethers.

* (fix) the obligatory prettier run.

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: sealer3 <[email protected]>
Co-authored-by: Willian Mitsuda <[email protected]>
Co-authored-by: lucac-zilliqa <[email protected]>
Co-authored-by: James Hinshelwood <[email protected]>
  • Loading branch information
6 people committed Mar 28, 2024
1 parent c76a2e7 commit c97b74d
Show file tree
Hide file tree
Showing 130 changed files with 12,724 additions and 7,972 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/build-and-prettier.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build and Prettier
on:
pull_request:
types: [opened, synchronize]
push:
branches:
- develop
- main
workflow_dispatch:
jobs:
check-prettier:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install node
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: "npm"
- name: Install packages
run: npm ci
- name: Run prettier
run: npx prettier -c .
- name: Build Otterscan
run: npm run build
78 changes: 0 additions & 78 deletions .github/workflows/docker-publish.yaml

This file was deleted.

112 changes: 112 additions & 0 deletions .github/workflows/end-to-end.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
name: End-to-End Tests
on:
pull_request:
types: [opened, synchronize]
push:
branches:
- develop
- main
workflow_dispatch:
jobs:
check-secrets:
runs-on: ubuntu-latest
outputs:
e2e-erigon-url: ${{ steps.e2e-erigon-url.outputs.defined }}
e2e-cypress-record-key: ${{ steps.e2e-cypress-record-key.outputs.defined }}
steps:
- name: Check if E2E_ERIGON_URL is available
id: e2e-erigon-url
env:
E2E_ERIGON_URL: ${{ secrets.E2E_ERIGON_URL }}
if: "${{ env.E2E_ERIGON_URL != '' }}"
run: echo "defined=true" >> $GITHUB_OUTPUT
- name: Check if E2E_CYPRESS_RECORD_KEY is available
id: e2e-cypress-record-key
env:
E2E_CYPRESS_RECORD_KEY: ${{ secrets.E2E_CYPRESS_RECORD_KEY }}
if: "${{ env.E2E_CYPRESS_RECORD_KEY != '' }}"
run: echo "defined=true" >> $GITHUB_OUTPUT

e2e-test-mainnet:
name: Run E2E tests on mainnet
runs-on: ubuntu-latest
if: ${{ needs.check-secrets.outputs.e2e-erigon-url == 'true' }}
needs: [check-secrets]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up xvfb
run: |
sudo apt update
sudo apt install -y libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libnss3 libxss1 libasound2 libxtst6 xauth xvfb
- name: Run Cypress tests on mainnet
uses: cypress-io/github-action@v6
with:
start: npm start
wait-on: "http://localhost:5173"
spec: "cypress/e2e/mainnet/**/*.cy.ts,cypress/e2e/*.cy.ts"
tag: ${{needs.check-secrets.outputs.e2e-cypress-record-key == 'true' && 'mainnet' || ''}}
record: |
${{needs.check-secrets.outputs.e2e-cypress-record-key == 'true' && 'true' || 'false'}}
env:
VITE_ERIGON_URL: ${{secrets.E2E_ERIGON_URL}}
CYPRESS_RECORD_KEY: ${{secrets.E2E_CYPRESS_RECORD_KEY}}
- name: Upload screenshots from failing tests
uses: actions/upload-artifact@v4
if: failure()
with:
name: Cypress Mainnet Screenshots
path: cypress/screenshots

e2e-test-devnet:
name: Run E2E tests on a devnet
runs-on: ubuntu-latest
needs: [check-secrets]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up xvfb
run: |
sudo apt update
sudo apt install -y libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libnss3 libxss1 libasound2 libxtst6 xauth xvfb
- name: Download Erigon
run: git clone --branch release/2.54 --single-branch https://github.com/ledgerwatch/erigon.git
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: "erigon/go.mod"
cache-dependency-path: "erigon/go.sum"
- name: Build Erigon
run: |
cd erigon
make erigon
- name: Load devnet config
id: load-devnet-config
run: |
OTTERSCAN_CONFIG="$(cat cypress/support/devnet-config.json | sed 's/localhost/127.0.0.1/')"
OTTERSCAN_CONFIG=$(echo $OTTERSCAN_CONFIG)
echo "config=$OTTERSCAN_CONFIG" >> $GITHUB_OUTPUT
- name: Run Cypress tests on devnet
uses: cypress-io/github-action@v6
with:
start: |
sh ./scripts/run-erigon-devnet-e2e-tests.sh
npm run start
wait-on: "http://127.0.0.1:8545, http://localhost:5173"
spec: "cypress/e2e/devnet/**/*.cy.ts,cypress/e2e/*.cy.ts"
tag: ${{needs.check-secrets.outputs.e2e-cypress-record-key == 'true' && 'devnet' || ''}}
record: |
${{needs.check-secrets.outputs.e2e-cypress-record-key == 'true' && 'true' || 'false'}}
env:
VITE_CONFIG_JSON: ${{steps.load-devnet-config.outputs.config}}
CYPRESS_RECORD_KEY: ${{secrets.E2E_CYPRESS_RECORD_KEY}}
CYPRESS_DEVNET_ERIGON_URL: "http://127.0.0.1:8545"
CYPRESS_DEVNET_SOURCIFY_SOURCE: "http://127.0.0.1:7077"
- name: Upload screenshots from failing tests
uses: actions/upload-artifact@v4
if: failure()
with:
name: Cypress Devnet Screenshots
path: cypress/screenshots
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# Vite cache
.vite/

# emacs backups
*~
Expand All @@ -12,6 +14,9 @@

# testing
/coverage
/storybook-static
/cypress/screenshots
/cypress/videos

# production
/build
Expand Down
3 changes: 3 additions & 0 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ const config: StorybookConfig = {
typescript: {
reactDocgen: false,
},
core: {
disableTelemetry: true,
},
};

export default config;
2 changes: 1 addition & 1 deletion .storybook/preview-head.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<script>
window.global = window;
</script>
</script>
11 changes: 5 additions & 6 deletions .storybook/preview.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import React from "react";
import { Decorator } from "@storybook/react";
import { INITIAL_VIEWPORTS } from "@storybook/addon-viewport";
import { BrowserRouter as Router } from "react-router-dom";
import "@fontsource/fira-code/index.css";
import "@fontsource/space-grotesk/index.css";
import "@fontsource/roboto/index.css";
import "@fontsource/roboto-mono/index.css";
import "@fontsource/roboto/index.css";
import "@fontsource/space-grotesk/files/space-grotesk-latin-400-normal.woff2";
import "@fontsource/space-grotesk/index.css";
import { INITIAL_VIEWPORTS } from "@storybook/addon-viewport";
import { Decorator } from "@storybook/react";
import { BrowserRouter as Router } from "react-router-dom";
import "../src/index.css";

export const parameters = {
Expand Down
28 changes: 14 additions & 14 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM node:20.8.1-alpine3.17 AS builder
FROM node:20.10.0-alpine3.17 AS builder
WORKDIR /otterscan-build
COPY ["package.json", "package-lock.json", "/otterscan-build/"]
RUN npm ci
COPY ["run-nginx.sh", "tsconfig.json", "tsconfig.node.json", "postcss.config.js", "tailwind.config.js", "vite.config.ts", "index.html", "/otterscan-build/"]
COPY ["public", "/otterscan-build/public/"]
COPY ["src", "/otterscan-build/src/"]
COPY --link ["package.json", "package-lock.json", "/otterscan-build/"]
RUN npm ci --fetch-timeout 600000 --verbose
COPY --link ["run-nginx.sh", "tsconfig.json", "tsconfig.node.json", "postcss.config.js", "tailwind.config.js", "vite.config.ts", "index.html", "/otterscan-build/"]
COPY --link ["public", "/otterscan-build/public/"]
COPY --link ["src", "/otterscan-build/src/"]
RUN npm run build

# Add brotli module to official nginx image
Expand Down Expand Up @@ -71,14 +71,14 @@ RUN set -ex \
&& rm -rf /tmp/packages
RUN apk update && apk add jq
WORKDIR /usr/share/nginx/html/
COPY --from=otterscan/otterscan-assets:v1.1.1 /usr/share/nginx/html/chains chains/
COPY --from=otterscan/otterscan-assets:v1.1.1 /usr/share/nginx/html/topic0 topic0/
COPY --from=otterscan/otterscan-assets:v1.1.1 /usr/share/nginx/html/assets assets/
COPY --from=otterscan/otterscan-assets:v1.1.1 /usr/share/nginx/html/signatures signatures/
COPY nginx/conf.d/default.conf /etc/nginx/conf.d/default.conf
COPY nginx/nginx.conf /etc/nginx/nginx.conf
COPY --from=builder /otterscan-build/dist /usr/share/nginx/html/
COPY --from=builder /otterscan-build/run-nginx.sh /
COPY --link --from=otterscan/otterscan-assets:v1.1.1 /usr/share/nginx/html/chains chains/
COPY --link --from=otterscan/otterscan-assets:v1.1.1 /usr/share/nginx/html/topic0 topic0/
COPY --link --from=otterscan/otterscan-assets:v1.1.1 /usr/share/nginx/html/assets assets/
COPY --link --from=otterscan/otterscan-assets:v1.1.1 /usr/share/nginx/html/signatures signatures/
COPY --link nginx/conf.d/default.conf /etc/nginx/conf.d/default.conf
COPY --link nginx/nginx.conf /etc/nginx/nginx.conf
COPY --link --from=builder /otterscan-build/dist /usr/share/nginx/html/
COPY --link --from=builder /otterscan-build/run-nginx.sh /
WORKDIR /

CMD ["/run-nginx.sh"]
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,6 @@ Follow the creator on Twitter for more updates ([@wmitsuda](https://twitter.com/

### Donation address

If you like this project, feel free to send donations to `otterscan.eth` or use our gitcoin grant page: https://gitcoin.co/grants/3224/otterscan
If you like this project, feel free to send donations to `otterscan.eth` on any EVM chain (it's an EOA).

We also participate regularly on Gitcoin Grants rounds.
40 changes: 40 additions & 0 deletions cypress.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
import { defineConfig } from "cypress";
import fs from "fs";

export default defineConfig({
e2e: {
projectId: "rypdvn",
setupNodeEvents(on, config) {
on(
"after:spec",
(spec: Cypress.Spec, results: CypressCommandLine.RunResult) => {
if (results && results.video) {
// Do we have failures for any retry attempts?
const failures = results.tests.some((test) =>
test.attempts.some((attempt) => attempt.state === "failed"),
);
if (!failures) {
// delete the video if the spec passed and no tests retried
fs.unlinkSync(results.video);
}
}
},
);
on("task", {
// Run cy.task('log', <message>) to log something to stdout
log(message) {
console.log(message);
return null;
},
});
},
baseUrl: "http://localhost:5173",
// SyntaxHighlighter files may take several seconds to load in dev mode
defaultCommandTimeout: 8_000,
video: true,
env: {
DEVNET_ERIGON_URL: "http://localhost:8545",
DEVNET_SOURCIFY_SOURCE: "http://localhost:7077",
},
},
});
28 changes: 28 additions & 0 deletions cypress/e2e/devnet/spec.cy.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
describe("Devnet tests", () => {
beforeEach(() => {
cy.visit("/");
});
it("Has a warning header with the chain ID", () => {
cy.get('[data-test="warning-header-network-name"]').contains(
"You are on ChainID: 1337",
);
});
it("Can navigate to a transaction's Trace tab and back", () => {
cy.sendTx({
to: "0x67b1d87101671b127f5f8714789C7192f7ad340e",
}).then(({ txReceipt }) => {
cy.visit("/tx/" + txReceipt.hash);
// Click Trace button and make sure the trace loads
cy.get("a").contains("Trace").click();
cy.get("span").contains("<fallback>");
cy.location("pathname").should(
"equal",
"/tx/" + txReceipt.hash + "/trace",
);
// Go back to the Overview tab
cy.get("a").contains("Overview").click();
cy.location("pathname").should("equal", "/tx/" + txReceipt.hash);
cy.get('[data-test="tx-hash"]').contains(txReceipt.hash);
});
});
});
Loading

0 comments on commit c97b74d

Please sign in to comment.