Skip to content
This repository was archived by the owner on Nov 10, 2023. It is now read-only.
This repository was archived by the owner on Nov 10, 2023. It is now read-only.

Abi field in contract interaction dialog resets every couple seconds #1328

@rmeissner

Description

@rmeissner

Title/Description

If you use a custom pasted abi the input text is reset after a couple seconds.

Environment

  • Browser: Chrome
  • Safe: 0xf11333E6558F64dBe99647AEB0D6D27a1b45E81c
  • Wallet: Metamasl
  • App Version: 2.11.0
  • Environment: Rinkeby

Steps to reproduce

  • New transaction
  • Contract interaction
  • Paste any address that doesn't load an abi (e.g. 0x05c85Ab5B09Eb8A55020d72daf6091E04e264af9)
  • Paste abi, e.g.:
[{"name":"NewExchange","inputs":[{"type":"address","name":"token","indexed":true},{"type":"address","name":"exchange","indexed":true}],"anonymous":false,"type":"event"},{"name":"initializeFactory","outputs":[],"inputs":[{"type":"address","name":"template"}],"constant":false,"payable":false,"type":"function","gas":35725},{"name":"createExchange","outputs":[{"type":"address","name":"out"}],"inputs":[{"type":"address","name":"token"}],"constant":false,"payable":false,"type":"function","gas":187911},{"name":"getExchange","outputs":[{"type":"address","name":"out"}],"inputs":[{"type":"address","name":"token"}],"constant":true,"payable":false,"type":"function","gas":715},{"name":"getToken","outputs":[{"type":"address","name":"out"}],"inputs":[{"type":"address","name":"exchange"}],"constant":true,"payable":false,"type":"function","gas":745},{"name":"getTokenWithId","outputs":[{"type":"address","name":"out"}],"inputs":[{"type":"uint256","name":"token_id"}],"constant":true,"payable":false,"type":"function","gas":736},{"name":"exchangeTemplate","outputs":[{"type":"address","name":"out"}],"inputs":[],"constant":true,"payable":false,"type":"function","gas":633},{"name":"tokenCount","outputs":[{"type":"uint256","name":"out"}],"inputs":[],"constant":true,"payable":false,"type":"function","gas":663}]

Expected result

Pasted abi persists until I manually change it (or at least until I change the address)

Obtained result

Abi input field is reset every couple seconds (around 15 seconds)

Metadata

Metadata

Assignees

Labels

Bug 🐛Something isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions