Hello, I have a question related to how to read proxy_target of a proxy contract in a specific block height for example 23000000
Supposed that I have a proxy contract at address 0xe2815fb200736f50838bf1579cbdb1b591c39985b75442c8f91963760dc445b9 (this is an example address).
This is a proxy contract of Src14OwnedProxy type. I can read the proxy_target to know the current implementation address of this contract.
The below typescript will help me to know the current proxy_target at latest block. But I want to know the proxy_target address at the specific block height, for example 23000000 that is 2 days ago. How to query that data?
I just want to know how to get that data. It can be done by typescript, Rust SDK or GraphQL still be ok. please help.
Hey @perseverance, team has already implemented it. It will be available in the fuel-corev0.42, and the next step up SDKs to support this feature. though, you can try this feature by using the fuel-core from master, sync with state rewind enabled, and dry run any transaction in the past, using custom SDK