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 0b60139 commit a29fc12
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 35 deletions.
16 changes: 16 additions & 0 deletions BIPs/4269-W69/BIP-605-corrupt.report.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FILENAME: `BIPs/4269-W69/BIP-605-corrupt.json`
MULTISIG: `multisigs/lm (mainnet:0xc38c5f97B34E175FFd35407fc91a937300E33860)`
COMMIT: `0b60139b842ffd73c920b423bc64d59b76b6293c`
CHAIN(S): `mainnet`
TENDERLY: `🟪 SKIPPED (TypeError("Unsupported type: '<class 'list'>'. Must be one of: bool, str, bytes, bytearrayor int."))`
```
+----------+---------------------------------------------------------------------------------+-------+------------------+------------+----------+
| fx_name | to | value | inputs | bip_number | tx_index |
+----------+---------------------------------------------------------------------------------+-------+------------------+------------+----------+
| addGauge | 0x5DbAd78818D4c8958EfF2d5b95b28385A22113Cd (20230519-gauge-adder-v4/GaugeAdder) | 0 | { | BIP-605 | N/A |
| | | | "gaugeType": [ | | |
| | | | "Ethereum" | | |
| | | | ] | | |
| | | | } | | |
+----------+---------------------------------------------------------------------------------+-------+------------------+------------+----------+
```
39 changes: 28 additions & 11 deletions BIPs/4269-W69/test/BIP-535.report.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,31 @@
FILENAME: `BIPs/4269-W69/BIP-535.json`
FILENAME: `BIPs/4269-W69/test/BIP-535.json`
MULTISIG: `multisigs/dao (mainnet:0x10A19e7eE7d7F8a52822f6817de8ea18204F2e4f)`
COMMIT: `0facc58da485a556960ec14ea6fdeec5dbe7b8de`
COMMIT: `0b60139b842ffd73c920b423bc64d59b76b6293c`
CHAIN(S): `mainnet`
TENDERLY: [SUCCESS](https://www.tdly.co/shared/simulation/f80e05ae-85cf-42d0-a31e-6068bd1d0170)
```
+------------+-------------------------------------------------+------------------------------------------------+---------------------------+---------+------------+
| 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 |
+------------+-------------------------------------------------+------------------------------------------------+---------------------------+---------+------------+
TENDERLY: `[🟩 SUCCESS](https://www.tdly.co/shared/simulation/770a21ac-d4a2-4a47-a2f5-dbb464fa156a)`
```
+----------+-------------------------------------------------+------------------------------------------------+---------------------------+---------+----------+
| function | token_symbol | recipient | amount | bip | tx_index |
+----------+-------------------------------------------------+------------------------------------------------+---------------------------+---------+----------+
| 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" | | |
| | | | ] | | |
| | | | } | | |
+----------+----------------------------------------------------------+-------+-------------------------------------------------------------------+------------+----------+
```
20 changes: 10 additions & 10 deletions BIPs/4269-W69/test/BIP-536.report.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
FILENAME: `BIPs/4269-W69/BIP-536.json`
FILENAME: `BIPs/4269-W69/test/BIP-536.json`
MULTISIG: `multisigs/lm (mainnet:0xc38c5f97B34E175FFd35407fc91a937300E33860)`
COMMIT: `0facc58da485a556960ec14ea6fdeec5dbe7b8de`
COMMIT: `0b60139b842ffd73c920b423bc64d59b76b6293c`
CHAIN(S): `mainnet`
TENDERLY: [FAILURE](https://www.tdly.co/shared/simulation/f2d3b588-3181-46f9-b8b2-1345aad8d58f)
TENDERLY: `[🟥 FAILURE](https://www.tdly.co/shared/simulation/217d69cb-bb41-463d-b4c2-c06656f56e3d)`
```
+-----------------------+---------------------------------------------------------------------+--------------------------+--------------------------------------------+---------------------------------------------------------------+-------------------------------------------------+---------+------------+
| function | pool_id_and_address | symbol_and_info | gauge_address_and_info | tokens | rate_providers | bip | tx_index |
+=======================+=====================================================================+==========================+============================================+===============================================================+=================================================+=========+============+
| GaugeAdderV4/addGauge | 0x383e7859271b2d0589b013b6d944572a0a8be3cb000000000000000000000657 | DOLA-mkUSD BSP | 0x6D560CbE3Cc25Eca8c930835Ec3d296a6C16B210 | "DOLA-mkUSD BSP(0x383e7859271B2D0589B013b6d944572a0a8bE3cB)", | "0x0000000000000000000000000000000000000000", | BIP-536 | 0 |
| | pool_address: 0x383e7859271B2D0589B013b6d944572a0a8bE3cB | fee: 0.04, a-factor: 100 | Style: mainnet, cap: 100.0% | "mkUSD(0x4591DBfF62656E7859Afe5e45f6f47D3669fBB28)", | "0x0000000000000000000000000000000000000000", | | |
| | | | | "DOLA(0x865377367054516e17014CcdED1e7d814EDC9ce4)" | "0x0000000000000000000000000000000000000000" | | |
+-----------------------+---------------------------------------------------------------------+--------------------------+--------------------------------------------+---------------------------------------------------------------+-------------------------------------------------+---------+------------+
+-----------------------+---------------------------------------------------------------------+-----------------+--------------------------------------------+------------------------------------------------------------+--------------------------------------------+----------------+---------+----------+
| function | pool_id_and_address | symbol_and_info | gauge_address_and_info | tokens | rate_providers | review_summary | bip | tx_index |
+-----------------------+---------------------------------------------------------------------+-----------------+--------------------------------------------+------------------------------------------------------------+--------------------------------------------+----------------+---------+----------+
| GaugeAdderV4/addGauge | 0x383e7859271b2d0589b013b6d944572a0a8be3cb000000000000000000000657 | DOLA-mkUSD BSP | 0x6D560CbE3Cc25Eca8c930835Ec3d296a6C16B210 | 0x383e7859271B2D0589B013b6d944572a0a8bE3cB: DOLA-mkUSD BSP | 0x0000000000000000000000000000000000000000 | -- | BIP-536 | 0 |
| | pool_address: 0x383e7859271B2D0589B013b6d944572a0a8bE3cB | fee: 0.04 | Style: mainnet | 0x4591DBfF62656E7859Afe5e45f6f47D3669fBB28: mkUSD | 0x0000000000000000000000000000000000000000 | -- | | |
| | | a-factor: 100 | cap: 100.0% | 0x865377367054516e17014CcdED1e7d814EDC9ce4: DOLA | 0x0000000000000000000000000000000000000000 | -- | | |
+-----------------------+---------------------------------------------------------------------+-----------------+--------------------------------------------+------------------------------------------------------------+--------------------------------------------+----------------+---------+----------+
```
16 changes: 8 additions & 8 deletions BIPs/4269-W69/test/BIP-537.report.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FILENAME: `BIPs/4269-W69/BIP-537.json`
FILENAME: `BIPs/4269-W69/test/BIP-537.json`
MULTISIG: `multisigs/dao (mainnet:0x10A19e7eE7d7F8a52822f6817de8ea18204F2e4f)`
COMMIT: `0facc58da485a556960ec14ea6fdeec5dbe7b8de`
COMMIT: `0b60139b842ffd73c920b423bc64d59b76b6293c`
CHAIN(S): `mainnet`
TENDERLY: [SUCCESS](https://www.tdly.co/shared/simulation/866c154b-41bb-4e7d-9bff-7d67ef14e051)
TENDERLY: `[🟩 SUCCESS](https://www.tdly.co/shared/simulation/bc5eab6d-eb19-4914-84c9-eee5c85e650a)`
```
+------------+------------------------------------------------+---------------------------------------------------------+--------------------------------------+---------+------------+
| function | token_symbol | recipient | amount | bip | tx_index |
+============+================================================+=========================================================+======================================+=========+============+
| transfer | BAL:0xba100000625a3754423978a60c9317c58a424e3D | multisigs/lm:0xc38c5f97B34E175FFd35407fc91a937300E33860 | 6545.0 (RAW: 6545000000000000000000) | BIP-537 | 0 |
+------------+------------------------------------------------+---------------------------------------------------------+--------------------------------------+---------+------------+
+----------+------------------------------------------------+---------------------------------------------------------+--------------------------------------+---------+----------+
| function | token_symbol | recipient | amount | bip | tx_index |
+----------+------------------------------------------------+---------------------------------------------------------+--------------------------------------+---------+----------+
| transfer | BAL:0xba100000625a3754423978a60c9317c58a424e3D | multisigs/lm:0xc38c5f97B34E175FFd35407fc91a937300E33860 | 6545.0 (RAW: 6545000000000000000000) | BIP-537 | 0 |
+----------+------------------------------------------------+---------------------------------------------------------+--------------------------------------+---------+----------+
```
12 changes: 6 additions & 6 deletions BIPs/4269-W69/test/BIP-653.report.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FILENAME: `BIPs/2024-W29/BIP-653.json`
FILENAME: `BIPs/4269-W69/test/BIP-653.json`
MULTISIG: `multisigs/dao (mainnet:0x10A19e7eE7d7F8a52822f6817de8ea18204F2e4f)`
COMMIT: `51bc896a16ee0216715df1cd0a3e001b852acf4d`
COMMIT: `0b60139b842ffd73c920b423bc64d59b76b6293c`
CHAIN(S): `mainnet`
TENDERLY: [SUCCESS](https://www.tdly.co/shared/simulation/e052e42e-c756-4166-84ab-4e80a6e93bdc)
TENDERLY: `[🟨 PARTIAL](https://www.tdly.co/shared/simulation/e39c47a3-2a19-4e4d-88cb-188165be9093)`
```
+-----------------------+---------------+--------------------------------------------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------+---------+----------+
| function | caller_name | caller_address | fx_paths | action_ids | bip | tx_index |
Expand All @@ -13,11 +13,11 @@ TENDERLY: [SUCCESS](https://www.tdly.co/shared/simulation/e052e42e-c756-4166-84a
| | | | 20220822-mainnet-gauge-factory-v2/LiquidityGaugeV5/set_reward_distributor(address,address) | | | |
+-----------------------+---------------+--------------------------------------------+--------------------------------------------------------------------------------------------+--------------------------------------------------------------------+---------+----------+
```
FILENAME: `BIPs/2024-W29/BIP-653.json`
FILENAME: `BIPs/4269-W69/test/BIP-653.json`
MULTISIG: `multisigs/dao (mainnet:0x10A19e7eE7d7F8a52822f6817de8ea18204F2e4f)`
COMMIT: `51bc896a16ee0216715df1cd0a3e001b852acf4d`
COMMIT: `0b60139b842ffd73c920b423bc64d59b76b6293c`
CHAIN(S): `mainnet`
TENDERLY: [SUCCESS](https://www.tdly.co/shared/simulation/bf6d452f-fbca-4544-b5a4-585b129b2168)
TENDERLY: `[🟨 PARTIAL](https://www.tdly.co/shared/simulation/9300a969-2f27-43c0-8656-92f2296b2e10)`
```
+------------------------+-------------------------------------------------------------------------------+-------+---------------------------------------------------------------------------+------------+----------+
| fx_name | to | value | inputs | bip_number | tx_index |
Expand Down

0 comments on commit a29fc12

Please sign in to comment.