Skip to content

Commit

Permalink
Update links after moving repo into oasisprotocol
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaw3d committed Jun 17, 2024
1 parent bdf3754 commit 882943b
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
20 changes: 10 additions & 10 deletions README.txt
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
notes

- [x] ROSY
http://localhost:3000/abi-playground-sapphire?contractAddress=0x6665a6Cae3F52959f0f653E3D04270D54e6f13d8&network=23294
http://localhost:3000/sapphire-abi-playground?contractAddress=0x6665a6Cae3F52959f0f653E3D04270D54e6f13d8&network=23294
https://old-explorer.sapphire.oasis.io/address/0x6665a6Cae3F52959f0f653E3D04270D54e6f13d8/read-contract#address-tabs

- [x] TryEmitTypes
https://explorer.oasis.io/mainnet/emerald/address/0xEF15601B599F5C0696E38AB27f100c4075B36150
http://localhost:3000/abi-playground-sapphire?contractAddress=0xEF15601B599F5C0696E38AB27f100c4075B36150&network=42262
http://localhost:3000/sapphire-abi-playground?contractAddress=0xEF15601B599F5C0696E38AB27f100c4075B36150&network=42262

- [x] supports nested structs
http://localhost:3000/abi-playground-sapphire?contractAddress=0xEF15601B599F5C0696E38AB27f100c4075B36150&network=42262&methods=emitEvent2
http://localhost:3000/sapphire-abi-playground?contractAddress=0xEF15601B599F5C0696E38AB27f100c4075B36150&network=42262&methods=emitEvent2

- [ignore] DOM errors
http://localhost:3000/abi-playground-sapphire?contractAddress=0xEF15601B599F5C0696E38AB27f100c4075B36150&network=42262&methods=emitEvent1%2CemitEvent2%2CemitUnnamed
http://localhost:3000/sapphire-abi-playground?contractAddress=0xEF15601B599F5C0696E38AB27f100c4075B36150&network=42262&methods=emitEvent1%2CemitEvent2%2CemitUnnamed


- [x] asks to switch chain in metamask
Expand All @@ -33,7 +33,7 @@ notes


- [x] boolean validation is bad
http://localhost:3000/abi-playground-sapphire?contractAddress=0xEF15601B599F5C0696E38AB27f100c4075B36150&network=42262&methods=emitEvent1%2CemitEvent2%2CemitUnnamed
http://localhost:3000/sapphire-abi-playground?contractAddress=0xEF15601B599F5C0696E38AB27f100c4075B36150&network=42262&methods=emitEvent1%2CemitEvent2%2CemitUnnamed

_booleanValue: 2 or truee
_integerValue: -121342343333331111111111111111111111111111
Expand All @@ -53,10 +53,10 @@ notes
https://abi.ninja/0xfed6a969aaa60e4961fcd3ebf1a2e8913ac65b72/11155111?methods=makeCommitment%2Cregister

- [ ] crashes if you type "0." into deposit, but not into withdrawal
https://lukaw3d.github.io/abi-playground-sapphire?contractAddress=0xB759a0fbc1dA517aF257D5Cf039aB4D86dFB3b94&network=23295&methods=balanceOf%2Cwithdraw%2Cdeposit
https://oasisprotocol.github.io/sapphire-abi-playground?contractAddress=0xB759a0fbc1dA517aF257D5Cf039aB4D86dFB3b94&network=23295&methods=balanceOf%2Cwithdraw%2Cdeposit

- [ ] wallet connect sometimes gets stuck:
- incognito open https://lukaw3d.github.io/abi-playground-sapphire?contractAddress=0xB759a0fbc1dA517aF257D5Cf039aB4D86dFB3b94&network=23295&methods=balanceOf%2Cwithdraw%2Cdeposit
- incognito open https://oasisprotocol.github.io/sapphire-abi-playground?contractAddress=0xB759a0fbc1dA517aF257D5Cf039aB4D86dFB3b94&network=23295&methods=balanceOf%2Cwithdraw%2Cdeposit
- wallet connect
- scan qr code in metamask app and connect
- try to deposit
Expand Down Expand Up @@ -87,18 +87,18 @@ Connects to
- [x] sapphire doesn't work
sender is zero
"ERC20: burn from the zero address"
https://lukaw3d.github.io/abi-playground-sapphire?contractAddress=0x8Bc2B030b299964eEfb5e1e0b36991352E56D2D3&network=23294&methods=deposit%2Cwithdraw%2CbalanceOf
https://oasisprotocol.github.io/sapphire-abi-playground?contractAddress=0x8Bc2B030b299964eEfb5e1e0b36991352E56D2D3&network=23294&methods=deposit%2Cwithdraw%2CbalanceOf

https://github.com/wevm/wagmi/commit/c2af20b88cf16970d087faaec10b463357a5836e
supportsSimulation

packages/nextjs/node_modules/@wagmi/core/dist/chunk-TSH6VVF4.js
if (config2.mode === "prepared") {
Fixed in https://github.com/lukaw3d/abi-playground-sapphire/commit/6da59d45ca125152689f43ca5661903d72f25a77
Fixed in https://github.com/oasisprotocol/sapphire-abi-playground/commit/6da59d45ca125152689f43ca5661903d72f25a77


- [x] subpage doesn't work after reload
https://lukaw3d.github.io/abi-playground-sapphire?contractAddress=0xcA11bde05977b3631167028862bE2a173976CA11&network=23294
https://oasisprotocol.github.io/sapphire-abi-playground?contractAddress=0xcA11bde05977b3631167028862bE2a173976CA11&network=23294

- [x] will nested structs get evm-parsed on explorer?
yes on PRD https://github.com/oasisprotocol/oasis-wallet-web/wiki/lukaw3d-bookmarklets#switch-to-nexusprd-api
Expand Down
4 changes: 2 additions & 2 deletions packages/nextjs/components/MiniFooter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ export const MiniFooter = () => {
<span>
Source at:
<a
href="https://github.com/lukaw3d/abi-playground-sapphire"
href="https://github.com/oasisprotocol/sapphire-abi-playground"
target="_blank"
rel="noreferrer"
className="link"
>
lukaw3d/abi-playground-sapphire
oasisprotocol/sapphire-abi-playground
</a>
</span>
&nbsp;·&nbsp;
Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
const nextConfig = {
output: "export", // For static github pages deploy
images: { unoptimized: true }, // Not supported in export mode
basePath: "/abi-playground-sapphire",
basePath: "/sapphire-abi-playground",

reactStrictMode: true,
typescript: {
Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"version": "0.1.0",
"scripts": {
"dev": "echo http://localhost:3000/abi-playground-sapphire && next dev",
"dev": "echo http://localhost:3000/sapphire-abi-playground && next dev",
"start": "yarn run dev",
"build": "next build",
"serve": "next start",
Expand Down

0 comments on commit 882943b

Please sign in to comment.