hashgraph / hashgraph/hedera-forking

[Hardhat] Use `blockNumber` configuration setting to fetch `allowances` and token associations

Open
#89 0 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
Solidity
Stars
3
Forks
4
PR merge metrics
No merged PRs in 30d

Description

[HIP-980](https://hips.hedera.com/hip/hip-980) introduces a `timestamp` parameter that allows to query `allowances` and token associations up to a given `timestamp`.

Whenever the user specifies a `blockNumber` in their configuration setting, we should fetch allowances and token associations up to that specified `blockNumber`. The conversion from `blockNumber` to `timestamp` was introduced in issue #77.

> [!NOTE]
> This issue is blocked until HIP-980 is implemented in the Mirror Node and deployed to `mainnet`, `testnet` and `previewnet`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.