Skip to content

Commit

Permalink
Automated processing of Payload PR (validations, transformations, and…
Browse files Browse the repository at this point in the history
… reports) + reformat JSON
  • Loading branch information
gosuto-inzasheru authored and actions-user committed Jul 24, 2024
1 parent ae088b4 commit 54ef25f
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 34 deletions.
2 changes: 1 addition & 1 deletion BIPs/4269-W69/BIP-605-corrupt.report.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FILENAME: `BIPs/4269-W69/BIP-605-corrupt.json`
MULTISIG: `multisigs/lm (mainnet:0xc38c5f97B34E175FFd35407fc91a937300E33860)`
COMMIT: `0b60139b842ffd73c920b423bc64d59b76b6293c`
COMMIT: `ae088b4beb46018fb71670d841fa127dbbc89066`
CHAIN(S): `mainnet`
TENDERLY: `🟪 SKIPPED (TypeError("Unsupported type: '<class 'list'>'. Must be one of: bool, str, bytes, bytearrayor int."))`
```
Expand Down
24 changes: 3 additions & 21 deletions BIPs/4269-W69/test/BIP-535.report.txt
Original file line number Diff line number Diff line change
@@ -1,31 +1,13 @@
FILENAME: `BIPs/4269-W69/test/BIP-535.json`
MULTISIG: `multisigs/dao (mainnet:0x10A19e7eE7d7F8a52822f6817de8ea18204F2e4f)`
COMMIT: `0b60139b842ffd73c920b423bc64d59b76b6293c`
COMMIT: `ae088b4beb46018fb71670d841fa127dbbc89066`
CHAIN(S): `mainnet`
TENDERLY: `[🟩 SUCCESS](https://www.tdly.co/shared/simulation/770a21ac-d4a2-4a47-a2f5-dbb464fa156a)`
TENDERLY: [`🟩 SUCCESS`](https://www.tdly.co/shared/simulation/832a081f-ab40-44b6-85c7-279af783371f)
```
+----------+-------------------------------------------------+------------------------------------------------+---------------------------+---------+----------+
| function | token_symbol | recipient | amount | bip | tx_index |
+----------+-------------------------------------------------+------------------------------------------------+---------------------------+---------+----------+
| transfer | USDC:0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 | N/A:0xDe5cbE25c58c49Ee7635216de6998f8dAcD63b96 | 4382.14 (RAW: 4382140000) | BIP-535 | 0 |
| transfer | USDC:0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 | N/A:0xc4F95f674b393a49410acE864833abE836848526 | 4088.24 (RAW: 4088240000) | BIP-535 | 1 |
+----------+-------------------------------------------------+------------------------------------------------+---------------------------+---------+----------+
```
FILENAME: `BIPs/4269-W69/test/BIP-535.json`
MULTISIG: `multisigs/dao (mainnet:0x10A19e7eE7d7F8a52822f6817de8ea18204F2e4f)`
COMMIT: `0b60139b842ffd73c920b423bc64d59b76b6293c`
CHAIN(S): `mainnet`
TENDERLY: `[🟩 SUCCESS](https://www.tdly.co/shared/simulation/dc3460f7-79f2-4239-8170-94e59ab9e92b)`
```
+----------+----------------------------------------------------------+-------+-------------------------------------------------------------------+------------+----------+
| fx_name | to | value | inputs | bip_number | tx_index |
+----------+----------------------------------------------------------+-------+-------------------------------------------------------------------+------------+----------+
| transfer | 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 (tokens/USDC) | 0 | { | BIP-535 | N/A |
| | | | "to": [ | | |
| | | | "0xDe5cbE25c58c49Ee7635216de6998f8dAcD63b96 (N/A)" | | |
| | | | ], | | |
| | | | "value": [ | | |
| | | | "raw:4382140000, 18 decimals:4.38214E-9, 6 decimals: 4382.14" | | |
| | | | ] | | |
| | | | } | | |
+----------+----------------------------------------------------------+-------+-------------------------------------------------------------------+------------+----------+
```
4 changes: 2 additions & 2 deletions BIPs/4269-W69/test/BIP-536.report.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FILENAME: `BIPs/4269-W69/test/BIP-536.json`
MULTISIG: `multisigs/lm (mainnet:0xc38c5f97B34E175FFd35407fc91a937300E33860)`
COMMIT: `0b60139b842ffd73c920b423bc64d59b76b6293c`
COMMIT: `ae088b4beb46018fb71670d841fa127dbbc89066`
CHAIN(S): `mainnet`
TENDERLY: `[🟥 FAILURE](https://www.tdly.co/shared/simulation/217d69cb-bb41-463d-b4c2-c06656f56e3d)`
TENDERLY: [`🟥 FAILURE`](https://www.tdly.co/shared/simulation/74aa0f95-3a5b-4be4-81fa-4f7dddb55e1a)
```
+-----------------------+---------------------------------------------------------------------+-----------------+--------------------------------------------+------------------------------------------------------------+--------------------------------------------+----------------+---------+----------+
| function | pool_id_and_address | symbol_and_info | gauge_address_and_info | tokens | rate_providers | review_summary | bip | tx_index |
Expand Down
4 changes: 2 additions & 2 deletions BIPs/4269-W69/test/BIP-537.report.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FILENAME: `BIPs/4269-W69/test/BIP-537.json`
MULTISIG: `multisigs/dao (mainnet:0x10A19e7eE7d7F8a52822f6817de8ea18204F2e4f)`
COMMIT: `0b60139b842ffd73c920b423bc64d59b76b6293c`
COMMIT: `ae088b4beb46018fb71670d841fa127dbbc89066`
CHAIN(S): `mainnet`
TENDERLY: `[🟩 SUCCESS](https://www.tdly.co/shared/simulation/bc5eab6d-eb19-4914-84c9-eee5c85e650a)`
TENDERLY: [`🟩 SUCCESS`](https://www.tdly.co/shared/simulation/18cc3280-bb5b-4ef4-8219-a187a2110da1)
```
+----------+------------------------------------------------+---------------------------------------------------------+--------------------------------------+---------+----------+
| function | token_symbol | recipient | amount | bip | tx_index |
Expand Down
16 changes: 8 additions & 8 deletions BIPs/4269-W69/test/BIP-653.report.txt
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
FILENAME: `BIPs/4269-W69/test/BIP-653.json`
MULTISIG: `multisigs/dao (mainnet:0x10A19e7eE7d7F8a52822f6817de8ea18204F2e4f)`
COMMIT: `0b60139b842ffd73c920b423bc64d59b76b6293c`
COMMIT: `ae088b4beb46018fb71670d841fa127dbbc89066`
CHAIN(S): `mainnet`
TENDERLY: `[🟨 PARTIAL](https://www.tdly.co/shared/simulation/e39c47a3-2a19-4e4d-88cb-188165be9093)`
TENDERLY: [`🟨 PARTIAL`](https://www.tdly.co/shared/simulation/ddddda96-0d69-4996-b624-52a31d1f1d32)
```
+-----------------------+---------------+--------------------------------------------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------+---------+----------+
| function | caller_name | caller_address | fx_paths | action_ids | bip | tx_index |
+-----------------------+---------------+--------------------------------------------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------+---------+----------+
| Authorizer/grantRole | multisigs/dao | 0x10A19e7eE7d7F8a52822f6817de8ea18204F2e4f | 20220325-mainnet-gauge-factory/LiquidityGaugeV5/set_reward_distributor(address,address) | 0xd0090a09f425bba74e6c801fba7c6d15b44147ab0bd319e40076ce07e95168b6 | BIP-653 | 0 |
| | | | 20220822-mainnet-gauge-factory-v2/LiquidityGaugeV5/set_reward_distributor(address,address) | | | |
| Authorizer/revokeRole | multisigs/dao | 0x10A19e7eE7d7F8a52822f6817de8ea18204F2e4f | 20220325-mainnet-gauge-factory/LiquidityGaugeV5/set_reward_distributor(address,address) | 0xd0090a09f425bba74e6c801fba7c6d15b44147ab0bd319e40076ce07e95168b6 | BIP-653 | 4 |
| | | | 20220822-mainnet-gauge-factory-v2/LiquidityGaugeV5/set_reward_distributor(address,address) | | | |
| Authorizer/grantRole | multisigs/dao | 0x10A19e7eE7d7F8a52822f6817de8ea18204F2e4f | 20220822-mainnet-gauge-factory-v2/LiquidityGaugeV5/set_reward_distributor(address,address) | 0xd0090a09f425bba74e6c801fba7c6d15b44147ab0bd319e40076ce07e95168b6 | BIP-653 | 0 |
| | | | 20220325-mainnet-gauge-factory/LiquidityGaugeV5/set_reward_distributor(address,address) | | | |
| Authorizer/revokeRole | multisigs/dao | 0x10A19e7eE7d7F8a52822f6817de8ea18204F2e4f | 20220822-mainnet-gauge-factory-v2/LiquidityGaugeV5/set_reward_distributor(address,address) | 0xd0090a09f425bba74e6c801fba7c6d15b44147ab0bd319e40076ce07e95168b6 | BIP-653 | 4 |
| | | | 20220325-mainnet-gauge-factory/LiquidityGaugeV5/set_reward_distributor(address,address) | | | |
+-----------------------+---------------+--------------------------------------------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------+---------+----------+
```
FILENAME: `BIPs/4269-W69/test/BIP-653.json`
MULTISIG: `multisigs/dao (mainnet:0x10A19e7eE7d7F8a52822f6817de8ea18204F2e4f)`
COMMIT: `0b60139b842ffd73c920b423bc64d59b76b6293c`
COMMIT: `ae088b4beb46018fb71670d841fa127dbbc89066`
CHAIN(S): `mainnet`
TENDERLY: `[🟨 PARTIAL](https://www.tdly.co/shared/simulation/9300a969-2f27-43c0-8656-92f2296b2e10)`
TENDERLY: [`🟨 PARTIAL`](https://www.tdly.co/shared/simulation/6c8eb11c-6269-41c0-bcb9-e2d637f1af15)
```
+------------------------+-------------------------------------------------------------------------------+-------+---------------------------------------------------------------------------+------------+----------+
| fx_name | to | value | inputs | bip_number | tx_index |
Expand Down

0 comments on commit 54ef25f

Please sign in to comment.