Skip to content

Commit

Permalink
feat: serialize chainId on v2 as well (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
sakulstra authored Apr 12, 2023
1 parent 0a48f24 commit 136abd4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ProtocolV2TestBase.sol
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ contract ProtocolV2TestBase is CommonTestBase {
{
string memory path = string(abi.encodePacked('./reports/', reportName, '.json'));
vm.writeFile(path, '{ "reserves": {}, "strategies": {}, "poolConfiguration": {} }');
vm.serializeUint('root', 'chainId', block.chainid);
ReserveConfig[] memory configs = _getReservesConfigs(pool);
ILendingPoolAddressesProvider addressesProvider = ILendingPoolAddressesProvider(
pool.getAddressesProvider()
Expand Down

0 comments on commit 136abd4

Please sign in to comment.