archethic-foundation / archethic-node

Official Archethic Blockchain node, written in Elixir
GNU Affero General Public License v3.0
69 stars 21 forks source link

Smart Contracts: change cache key #1521

Closed bchamagne closed 1 month ago

bchamagne commented 1 month ago

Description

This does not concern the node directly but applications that depends on it (playground). The cache key was using the validation_time but it should use the :time_now because that's what the interpreter actually use.

ALSO: Make the cache optional

Type of change

How Has This Been Tested?

via the playground + run the tests

Checklist: