Skip to content

Commit

Permalink
Use safe-eth-py beta 6.0.0b1
Browse files Browse the repository at this point in the history
  • Loading branch information
Uxio0 committed Sep 25, 2023
1 parent 6333818 commit e59747c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ psycogreen==1.0.2
psycopg2==2.9.7
redis==5.0.0
requests==2.31.0
safe-eth-py[django]==6.0.0
safe-eth-py[django]==6.0.0b1
web3==6.10.0
12 changes: 6 additions & 6 deletions safe_transaction_service/history/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -2900,12 +2900,12 @@ def test_safe_creation_view(self):
):
# `another_trace_2` should change the `creator` and `master_copy` and `setup_data` should appear
# Taken from rinkeby
create_test_data = {
create_test_data_v1_0_0 = {
"master_copy": "0xb6029EA3B2c51D09a50B53CA8012FeEB05bDa35A",
"setup_data": "0xa97ab18a00000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000006e45d69a383ceca3d54688e833bd0e1388747e6b00000000000000000000000061a0c717d18232711bc788f19c9cd56a43cc88720000000000000000000000007724b234c9099c205f03b458944942bceba134080000000000000000000000000000000000000000000000000000000000000000",
"data": "0x61b69abd000000000000000000000000b6029ea3b2c51d09a50b53ca8012feeb05bda35a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000184a97ab18a00000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000006e45d69a383ceca3d54688e833bd0e1388747e6b00000000000000000000000061a0c717d18232711bc788f19c9cd56a43cc88720000000000000000000000007724b234c9099c205f03b458944942bceba13408000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
}
data_decoded_1 = {
data_decoded_v1_0_0 = {
"method": "setup",
"parameters": [
{
Expand Down Expand Up @@ -2938,12 +2938,12 @@ def test_safe_creation_view(self):
],
}

create_test_data_2 = {
create_test_data_v1_1_1 = {
"master_copy": "0x34CfAC646f301356fAa8B21e94227e3583Fe3F5F",
"setup_data": "0xb63e800d0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180000000000000000000000000d5d82b6addc9027b22dca772aa68d5d74cdbdf440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ac9b6dd409ff10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000085c26101f353f38e45c72d414b44972831f07be3000000000000000000000000235518798770d7336c5c4908dd1019457fea43a10000000000000000000000007f63c25665ea7e85500eaeb806e552e651b07b9d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"data": "0x1688f0b900000000000000000000000034cfac646f301356faa8b21e94227e3583fe3f5f0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000002cecc9e861200000000000000000000000000000000000000000000000000000000000001c4b63e800d0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180000000000000000000000000d5d82b6addc9027b22dca772aa68d5d74cdbdf440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ac9b6dd409ff10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000085c26101f353f38e45c72d414b44972831f07be3000000000000000000000000235518798770d7336c5c4908dd1019457fea43a10000000000000000000000007f63c25665ea7e85500eaeb806e552e651b07b9d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
}
data_decoded_2 = {
data_decoded_v1_1_1 = {
"method": "setup",
"parameters": [
{
Expand Down Expand Up @@ -3032,8 +3032,8 @@ def test_safe_creation_view(self):
}

for test_data, data_decoded in [
(create_test_data, data_decoded_1),
(create_test_data_2, data_decoded_2),
(create_test_data_v1_0_0, data_decoded_v1_0_0),
(create_test_data_v1_1_1, data_decoded_v1_1_1),
(create_cpk_test_data, data_decoded_cpk),
(create_v1_4_1_test_data, data_decoded_v1_4_1),
]:
Expand Down

0 comments on commit e59747c

Please sign in to comment.