Skip to content

perf: unnecessary call to arweave.networkInfo when block height is requested from client #70

@ppedziwiatr

Description

@ppedziwiatr

calling contract.readState(txId, blockHeight) should not trigger call to arweave.networkInfo().

Also - verify how the deepCopy in https://github.com/redstone-finance/redstone-smartcontracts/blob/main/src/core/modules/impl/ContractHandlerApi.ts#L70 affects the performance - it is basically required by only one contract - ArweaveTeam/SmartWeave#92

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions