You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the introduction of non-trivial Compute Costs for storage (#8924), the nayduck test "tests::nearcore::rpc_nodes::test_protocol_config_rpc" started to fail with a mismatch:
This is because we don't expose the actual compute costs over RPC right now, and when the config is constructed from the RPC response, the compute cost is assumed to be equal to the gas cost.
I've been working on removing this lossy conversion: #8763
In #8426 this conversion became lossy due to the introduction of Compute Costs. This raised the question of whether this conversion is needed at all. I've found one place in the Indexer code that uses it and replaced it with a direct lookup for config from `RuntimeConfigStore`. As a part of this I've also simplified some code in the indexer.
This should fix the failing nayduck test #8967
In #8426 this conversion became lossy due to the introduction of Compute Costs. This raised the question of whether this conversion is needed at all. I've found one place in the Indexer code that uses it and replaced it with a direct lookup for config from `RuntimeConfigStore`. As a part of this I've also simplified some code in the indexer.
This should fix the failing nayduck test #8967
In #8426 this conversion became lossy due to the introduction of Compute Costs. This raised the question of whether this conversion is needed at all. I've found one place in the Indexer code that uses it and replaced it with a direct lookup for config from `RuntimeConfigStore`. As a part of this I've also simplified some code in the indexer.
This should fix the failing nayduck test #8967
After the introduction of non-trivial Compute Costs for storage (#8924), the nayduck test "tests::nearcore::rpc_nodes::test_protocol_config_rpc" started to fail with a mismatch:
At this assert:
nearcore/integration-tests/src/tests/nearcore/rpc_nodes.rs
Lines 261 to 265 in fdad133
This is because we don't expose the actual compute costs over RPC right now, and when the config is constructed from the RPC response, the compute cost is assumed to be equal to the gas cost.
I've been working on removing this lossy conversion: #8763
CC @jakmeier , @Longarithm
The text was updated successfully, but these errors were encountered: