fix: some formatting tweaks #161
Annotations
4 errors and 1 warning
Run tests:
src/govv3/generatePayloadReport.spec.ts#L14
Error: Snapshot `generatePayloadReport > should match snapshot 1` mismatched
- Expected
+ Received
@@ -23,55 +23,55 @@
```
Dai (Dai) at `0x6B175474E89094C44Da98b954EedeAC495271d0F`[:ghost:](https://github.com/bgd-labs/aave-address-book "AaveV2Ethereum.ASSETS.DAI.UNDERLYING, AaveV2EthereumAMM.ASSETS.DAI.UNDERLYING, AaveV3Ethereum.ASSETS.DAI.UNDERLYING")
```diff
@@ `balanceOf` key `0x464c71f6c2f760dda6093dcb91c24c39e5d6e18c` @@
- - 502,889.065017878577338563[502889065017878577338563]
- + 2,889.065017878577338563[2889065017878577338563]
+ - 502,889.065017878577338563[502889065017878577338563](18 decimals)
+ + 2,889.065017878577338563[2889065017878577338563](18 decimals)
@@ `balanceOf` key `0x9d53cefcd5fbeb850b053a23ec6f59eb3dc76e33` @@
- - 0[0]
- + 500,000[500000000000000000000000]
+ - 0[0](18 decimals)
+ + 500,000[500000000000000000000000](18 decimals)
@@ `allowance` key `0x9d53cefcd5fbeb850b053a23ec6f59eb3dc76e33.0xc92e8bdf79f0507f65a392b0ab4667716bfe0110` @@
- - 0[0]
- + 115,792,089,237,316,195,423,570,985,008,687,907,853,269,984,665,640,564,039,457.584007913129639935[115792089237316195423570985008687907853269984665640564039457584007913129639935]
+ - 0[0](18 decimals)
+ + 115,792,089,237,316,195,423,570,985,008,687,907,853,269,984,665,640,564,039,457.584007913129639935[115792089237316195423570985008687907853269984665640564039457584007913129639935](18 decimals)
```
InitializableImmutableAdminUpgradeabilityProxy at `0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9`[:ghost:](https://github.com/bgd-labs/aave-address-book "AaveV2Ethereum.POOL") with implementation LendingPool at `0x085E34722e04567Df9E6d2c32e82fd74f3342e79`
```diff
@@ `_reserves` key `0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.liquidityIndex` @@
- - 1.125972900043692179606694722[1125972900043692179606694722]
- + 1.125991030272021514250652312[1125991030272021514250652312]
+ - 1.125972900043692179606694722[1125972900043692179606694722](27 decimals)
+ + 1.125991030272021514250652312[1125991030272021514250652312](27 decimals)
@@ `_reserves` key `0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.variableBorrowIndex` @@
- - 1.185069240973920592952379763[1185069240973920592952379763]
- + 1.185097276944910539318953337[1185097276944910539318953337]
+ - 1.185069240973920592952379763[1185069240973920592952379763](27 decimals)
+ + 1.185097276944910539318953337[1185097276944910539318953337](27 decimals)
@@ `_reserves` key `0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.currentLiquidityRate` @@
- - 100751473401236648012460614
- + 123029815053899026525991182
+ - 10.0751473401236648012460614%[100751473401236648012460614](25 decimals)
+ + 12.3029815053899026525991182%[123029815053899026525991182](25 decimals)
@@ `_reserves` key `0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.currentVariableBorrowRate` @@
- - 148027638325434642033107448
- + 180113117017905438863598858
+ - 14.8027638325434642033107448%[148027638325434642033107448](25 decimals)
+ + 18.0113117017905438863598858%[180113117017905438863598858](25 decimals)
@@ `_reserves` key `0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.currentStableBorrowRate` @@
- - 198027638325434642033107448
- + 230113117017905438863598858
+ - 19.8027638325434642033107448%[198027638325434642033107448](25 decimals)
+ + 23.0113117017905438863598858%[230113117017905438863598858](25 decimals)
@@ `_reserves` key `0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.lastUpdateTimestamp` @@
- 1705396271
+ 1705401311
@@ `_reserves` key `0xdac17f958d2ee523a2206206994597c13d831ec7.liquidityIndex` @@
- - 1.149223734302009162656035865[1149223734302009162656035865]
- + 1.149227808508467355639962102[1149227808508467355639962102]
+ - 1.149223734302009162656035865[1149223734302009162656035865](27 decimals)
+ + 1.149227808508467355639962102[1149227808508467355639962102](27 decimals)
@@ `_reserves` key `0xdac17f958d2ee523a2206206994597c13d831ec7.variableBorrowIndex` @@
- - 1.228776684865256100554716625[1228776684865256100554716625]
- + 1.228783878292595972201993472[1228783878292595972201993472]
+ - 1.228776684865256100554716625[122877668486525610055471662
|
Run tests:
src/govv3/checks/state.spec.ts#L14
Error: Snapshot `state check > should correctly render state diff for 1` mismatched
- Expected
+ Received
@@ -13,55 +13,55 @@
```
Dai (Dai) at `0x6B175474E89094C44Da98b954EedeAC495271d0F`[:ghost:](https://github.com/bgd-labs/aave-address-book "AaveV2Ethereum.ASSETS.DAI.UNDERLYING, AaveV2EthereumAMM.ASSETS.DAI.UNDERLYING, AaveV3Ethereum.ASSETS.DAI.UNDERLYING")
```diff
@@ `balanceOf` key `0x464c71f6c2f760dda6093dcb91c24c39e5d6e18c` @@
- - 502,889.065017878577338563[502889065017878577338563]
- + 2,889.065017878577338563[2889065017878577338563]
+ - 502,889.065017878577338563[502889065017878577338563](18 decimals)
+ + 2,889.065017878577338563[2889065017878577338563](18 decimals)
@@ `balanceOf` key `0x9d53cefcd5fbeb850b053a23ec6f59eb3dc76e33` @@
- - 0[0]
- + 500,000[500000000000000000000000]
+ - 0[0](18 decimals)
+ + 500,000[500000000000000000000000](18 decimals)
@@ `allowance` key `0x9d53cefcd5fbeb850b053a23ec6f59eb3dc76e33.0xc92e8bdf79f0507f65a392b0ab4667716bfe0110` @@
- - 0[0]
- + 115,792,089,237,316,195,423,570,985,008,687,907,853,269,984,665,640,564,039,457.584007913129639935[115792089237316195423570985008687907853269984665640564039457584007913129639935]
+ - 0[0](18 decimals)
+ + 115,792,089,237,316,195,423,570,985,008,687,907,853,269,984,665,640,564,039,457.584007913129639935[115792089237316195423570985008687907853269984665640564039457584007913129639935](18 decimals)
```
InitializableImmutableAdminUpgradeabilityProxy at `0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9`[:ghost:](https://github.com/bgd-labs/aave-address-book "AaveV2Ethereum.POOL") with implementation LendingPool at `0x085E34722e04567Df9E6d2c32e82fd74f3342e79`
```diff
@@ `_reserves` key `0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.liquidityIndex` @@
- - 1.125972900043692179606694722[1125972900043692179606694722]
- + 1.125991030272021514250652312[1125991030272021514250652312]
+ - 1.125972900043692179606694722[1125972900043692179606694722](27 decimals)
+ + 1.125991030272021514250652312[1125991030272021514250652312](27 decimals)
@@ `_reserves` key `0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.variableBorrowIndex` @@
- - 1.185069240973920592952379763[1185069240973920592952379763]
- + 1.185097276944910539318953337[1185097276944910539318953337]
+ - 1.185069240973920592952379763[1185069240973920592952379763](27 decimals)
+ + 1.185097276944910539318953337[1185097276944910539318953337](27 decimals)
@@ `_reserves` key `0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.currentLiquidityRate` @@
- - 100751473401236648012460614
- + 123029815053899026525991182
+ - 10.0751473401236648012460614%[100751473401236648012460614](25 decimals)
+ + 12.3029815053899026525991182%[123029815053899026525991182](25 decimals)
@@ `_reserves` key `0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.currentVariableBorrowRate` @@
- - 148027638325434642033107448
- + 180113117017905438863598858
+ - 14.8027638325434642033107448%[148027638325434642033107448](25 decimals)
+ + 18.0113117017905438863598858%[180113117017905438863598858](25 decimals)
@@ `_reserves` key `0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.currentStableBorrowRate` @@
- - 198027638325434642033107448
- + 230113117017905438863598858
+ - 19.8027638325434642033107448%[198027638325434642033107448](25 decimals)
+ + 23.0113117017905438863598858%[230113117017905438863598858](25 decimals)
@@ `_reserves` key `0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.lastUpdateTimestamp` @@
- 1705396271
+ 1705401311
@@ `_reserves` key `0xdac17f958d2ee523a2206206994597c13d831ec7.liquidityIndex` @@
- - 1.149223734302009162656035865[1149223734302009162656035865]
- + 1.149227808508467355639962102[1149227808508467355639962102]
+ - 1.149223734302009162656035865[1149223734302009162656035865](27 decimals)
+ + 1.149227808508467355639962102[1149227808508467355639962102](27 decimals)
@@ `_reserves` key `0xdac17f958d2ee523a2206206994597c13d831ec7.variableBorrowIndex` @@
- - 1.228776684865256100554716625[1228776684865256100554716625]
- + 1.228783878292595972201993472[1228783878292595972201993472]
+ - 1.228776684865256100554716625[12287766848652561005
|
Run tests:
src/govv3/checks/state.spec.ts#L18
Error: Snapshot `state check > should correctly render state diff for config change 1` mismatched
- Expected
+ Received
@@ -6,210 +6,210 @@
```diff
@@ `_reserves` key `0x0000000000085d4780b73119b644ae5ecd22b376.configuration.data` @@
- 184283194582935181459456
+ 184449215279598567424000
@@ `_reserves` key `0x0000000000085d4780b73119b644ae5ecd22b376.configuration.data_decoded.reserveFactor` @@
- - 99.9%[9990]
- + 99.99%[9999]
+ - 99.9%[9990](2 decimals)
+ + 99.99%[9999](2 decimals)
@@ `_reserves` key `0x03ab458634910aad20ef5f1c8ee96f1d6ac54919.configuration.data` @@
- 182623275799432407285760
+ 184449503462729652895744
@@ `_reserves` key `0x03ab458634910aad20ef5f1c8ee96f1d6ac54919.configuration.data_decoded.reserveFactor` @@
- - 99%[9900]
- + 99.99%[9999]
+ - 99%[9900](2 decimals)
+ + 99.99%[9999](2 decimals)
@@ `_reserves` key `0x056fd409e1d7a124bd7017459dfea2f387b6d5cd.configuration.data` @@
- 36893848998339246292992
+ 46117221035194022100992
@@ `_reserves` key `0x056fd409e1d7a124bd7017459dfea2f387b6d5cd.configuration.data_decoded.reserveFactor` @@
- - 20%[2000]
- + 25%[2500]
+ - 20%[2000](2 decimals)
+ + 25%[2500](2 decimals)
@@ `_reserves` key `0x0bc529c00c6401aef6d220be8c6ea1667f6ad93e.configuration.data` @@
- 182623275846677047869440
+ 184449503509974293479424
@@ `_reserves` key `0x0bc529c00c6401aef6d220be8c6ea1667f6ad93e.configuration.data_decoded.reserveFactor` @@
- - 99%[9900]
- + 99.99%[9999]
+ - 99%[9900](2 decimals)
+ + 99.99%[9999](2 decimals)
@@ `_reserves` key `0x0d8775f648430679a709e98d2b0cb6250d2887ef.configuration.data` @@
- 182622987616300896157696
+ 184449215279598141767680
@@ `_reserves` key `0x0d8775f648430679a709e98d2b0cb6250d2887ef.configuration.data_decoded.reserveFactor` @@
- - 99%[9900]
- + 99.99%[9999]
+ - 99%[9900](2 decimals)
+ + 99.99%[9999](2 decimals)
@@ `_reserves` key `0x0f5d2fb29fb7d3cfee444a200298f468908cc942.configuration.data` @@
- 182623275846677047869440
+ 184449503509974293479424
@@ `_reserves` key `0x0f5d2fb29fb7d3cfee444a200298f468908cc942.configuration.data_decoded.reserveFactor` @@
- - 99%[9900]
- + 99.99%[9999]
+ - 99%[9900](2 decimals)
+ + 99.99%[9999](2 decimals)
@@ `_reserves` key `0x111111111117dc0aa78b770fa6a738034120c302.configuration.data` @@
- 182622987615656651063296
+ 184449215278953896673280
@@ `_reserves` key `0x111111111117dc0aa78b770fa6a738034120c302.configuration.data_decoded.reserveFactor` @@
- - 99%[9900]
- + 99.99%[9999]
+ - 99%[9900](2 decimals)
+ + 99.99%[9999](2 decimals)
@@ `_reserves` key `0x1494ca1f11d487c2bbe4543e90080aeba4ba3c2b.configuration.data` @@
- 182622987616300896157696
+ 184449215279598141767680
@@ `_reserves` key `0x1494ca1f11d487c2bbe4543e90080aeba4ba3c2b.configuration.data_decoded.reserveFactor` @@
- - 99%[9900]
- + 99.99%[9999]
+ - 99%[9900](2 decimals)
+ + 99.99%[9999](2 decimals)
@@ `_reserves` key `0x1f9840a85d5af5bf1d1762f925bdaddc4201f984.configuration.data` @@
- 182622987615871490850816
+ 184449215279168736460800
@@ `_reserves` key `0x1f9840a85d5af5bf1d1762f925bdaddc4201f984.configuration.data_decoded.reserveFactor` @@
- - 99%[9900]
- + 99.99%[9999]
+ - 99%[9900](2 decimals)
+ + 99.99%[9999](2 decimals)
@@ `_reserves` key `0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.configuration.data` @@
- 55340594805996352183328
+ 64563966842851127991328
@@ `_reserves` key `0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.configuration.data_decoded.reserveFactor` @@
- - 30%[3000]
- + 35%[3500]
+ - 30%[3000](2 decimals)
+ + 35%[3500](2 decimals)
@@ `_reserves` key `0x408e41876cccdc0f92210600ef50372656052a38.configuration.data` @@
- 182622987616300896157696
+ 184449215279598141767680
@@ `_reserves` key `0x408e41876cccdc0f92210600ef50372656052a38.configuration.data_decoded.reserveFactor` @@
- - 99%[9900]
- + 99.99%[9999]
+ - 99%[9900](2 decimals)
+ + 99.99%[9999](2 decimals)
@@ `_reserves` key `0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b.configuration.data` @@
- 182622987615656651063296
+ 184449215278953896673280
@@ `_reserves` key `0x4e3fbd56cd56c3e72c1403e1
|
Run tests
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading