warp-contracts / warp

An implementation of the Arweave SmartWeave smart contracts protocol.
MIT License
159 stars 44 forks source link

perf: split contracts cache into sources and contract metadata #261

Closed ppedziwiatr closed 1 year ago

ppedziwiatr commented 2 years ago

Currently the WarpContractDefinitionLoader is using a cache, which stores the whole ContractDefinition object - this object includes the contract source data.

Since many different contracts share the same source - this is inefficient in terms of storage.

ppedziwiatr commented 1 year ago

released in 1.2.38