token-negotiator icon indicating copy to clipboard operation
token-negotiator copied to clipboard

TN caches attestation config

Open oleggrib opened this issue 1 year ago • 1 comments

TN 2.6.0 caches attestation config and doesn't update it when config changes

steps to reproduce:

  1. start TN with issuer1 : https://devcon-vi.attest.tickets/devcon6.js

  2. update TN issuer to issuer2 : https://stage-perks.smarttokenlabs.com/shanghai_token_demo.js

page still display issuer1

problem solves when I remove LocalStorage variable "tn-tokenStore"

@nicktaras , it happened because of same collectionID, but does it worth to cache data, what already downloaded? Maybe better disable option to cache config?

oleggrib avatar Jul 24 '23 17:07 oleggrib