Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP #4

Open
wants to merge 469 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
469 commits
Select commit Hold shift + click to select a range
5672141
Update dependencies
Uxio0 Nov 2, 2020
0a7c759
Update JSONField for Django v3
Uxio0 Nov 2, 2020
0492d3c
Revert update of web3.py
Uxio0 Nov 2, 2020
dcbe829
Update dependencies
Uxio0 Jan 11, 2021
387c5de
Update dependencies
Uxio0 Jan 11, 2021
04d14b9
Update dependencies
Uxio0 Feb 5, 2021
0400d3a
Wait for a few confirmations to mark a tx as mined
Uxio0 Feb 5, 2021
ca47b0a
Configure github actions
Uxio0 Feb 5, 2021
db0116e
Set version 3.12.1
Uxio0 Feb 5, 2021
1a4c862
Optimize github actions
Uxio0 Feb 18, 2021
abe3df4
Update dependencies
Uxio0 Feb 18, 2021
a6e57aa
Handle exception for estimate_tx_gas on Geth 1.8.15
Uxio0 Feb 26, 2021
0099b31
Update dependencies
Uxio0 Mar 1, 2021
99736d3
Set version 3.12.2
Uxio0 Mar 1, 2021
4ae2a99
Optimize resend logic
Uxio0 Mar 12, 2021
e20b5d7
Set version 3.12.3
Uxio0 Mar 12, 2021
8932df1
Fix gunicorn gevent
Uxio0 Mar 12, 2021
04464ad
Set version 3.12.4
Uxio0 Mar 12, 2021
e6b6de5
Update to Python 3.9
Uxio0 Mar 12, 2021
22ea605
Set version 3.12.5
Uxio0 Mar 15, 2021
b2696c1
Refactor gas station
Uxio0 Mar 15, 2021
ba497cb
Don't send slack notification async
Uxio0 Mar 15, 2021
a4a1999
Remove cache decorator for swagger
Uxio0 Mar 17, 2021
7bddbb8
Fix typo
Uxio0 Mar 17, 2021
147b360
Set version 3.12.6
Uxio0 Mar 17, 2021
49b8456
Fix issue with transaction service
Uxio0 Mar 22, 2021
356a32c
Add typing to gas_station
Uxio0 Mar 22, 2021
cb6c957
Fix issue resending transactions all the time
Uxio0 Mar 22, 2021
41b2644
Set version 3.12.7
Uxio0 Mar 22, 2021
6116c82
Log stacktrace for internal errors
Uxio0 Mar 26, 2021
cd34a1a
Don't resend tx if it's out of the mempool
Uxio0 Mar 26, 2021
e29acdb
Add ganache chainId (for contracts v1.3.0)
Uxio0 Apr 14, 2021
d98624a
Update dependencies
Uxio0 May 13, 2021
c9a9997
Fix tests
Uxio0 May 13, 2021
d2f9ecb
Fix resending on transactions with a new nonce
Uxio0 May 13, 2021
296a091
Set version 3.12.9
Uxio0 May 13, 2021
44274a8
Remove unused imports
Uxio0 May 13, 2021
58b9493
Fix signers in admin
Uxio0 May 25, 2021
85660b9
Add dependabot configuration
Uxio0 May 25, 2021
a8bfd8c
Fix resend typo
Uxio0 May 25, 2021
c894b02
Fix tests
Uxio0 May 27, 2021
0f50cf1
Resend txs if deleted from mempool
Uxio0 May 28, 2021
9d8c2b0
Update requirements
Uxio0 May 28, 2021
f16c00d
Set version 3.12.10
Uxio0 May 28, 2021
9289fd9
Log resending tx error
Uxio0 May 29, 2021
e0c1795
Add parameter resend txs command
Uxio0 May 31, 2021
8c3ace7
Log tx-hash as hex string
Uxio0 Jun 4, 2021
42b597d
Bump django from 3.2.3 to 3.2.4
dependabot[bot] Jun 6, 2021
fb42836
Bump faker from 8.4.0 to 8.5.1
dependabot[bot] Jun 6, 2021
2069c24
Merge pull request #273 from gnosis/dependabot/pip/faker-8.5.1
Uxio0 Jun 7, 2021
cc9c748
Merge pull request #272 from gnosis/dependabot/pip/django-3.2.4
Uxio0 Jun 7, 2021
8162170
Bump gnosis-py from 3.0.5 to 3.0.6 (#271)
dependabot[bot] Jun 7, 2021
3bb9a5b
Bump django-redis from 4.12.1 to 5.0.0 (#270)
dependabot[bot] Jun 7, 2021
1e45bf8
Update dependencies
Uxio0 Jun 10, 2021
f864c89
Migrate to Django 3.2
Uxio0 Jun 10, 2021
6f0fdfb
Set ganache networkId
Uxio0 Jun 11, 2021
974d807
Revert web3 version update
Uxio0 Jun 11, 2021
f4816ab
Fix EIP1271 signature checking
Uxio0 Jun 11, 2021
fec899e
Bump faker from 8.6.0 to 8.7.0 (#276)
dependabot[bot] Jun 14, 2021
5d87a4c
Organize project layout
Uxio0 Jun 17, 2021
c472999
Update dependencies
Uxio0 Jun 17, 2021
09a7962
Remove django coverage plugin
Uxio0 Jun 17, 2021
d49b328
Bump gnosis-py from 3.1.4 to 3.1.5 (#279)
dependabot[bot] Jun 20, 2021
00e2bd9
Bump celery from 5.1.0 to 5.1.1 (#278)
dependabot[bot] Jun 20, 2021
88c6618
Bump faker from 8.8.1 to 8.8.2 (#280)
dependabot[bot] Jun 27, 2021
03e9b35
Bump numpy from 1.20.3 to 1.21.0 (#281)
dependabot[bot] Jun 27, 2021
a73a768
Make dependabot search on Monday
Uxio0 Jun 28, 2021
a10aee2
Fix celery logging
Uxio0 Jun 29, 2021
ef3d556
Bump packaging from 20.9 to 21.0 (#285)
dependabot[bot] Jul 5, 2021
157006d
Bump django from 3.2.4 to 3.2.5 (#284)
dependabot[bot] Jul 5, 2021
b3f5a38
Bump faker from 8.8.2 to 8.9.1 (#283)
dependabot[bot] Jul 5, 2021
ef637f2
Bump gnosis-py from 3.1.5 to 3.1.9 (#282)
dependabot[bot] Jul 5, 2021
c8c11ba
Bump celery from 5.1.1 to 5.1.2 (#289)
dependabot[bot] Jul 5, 2021
86847e4
Bump django-celery-beat from 2.2.0 to 2.2.1 (#288)
dependabot[bot] Jul 5, 2021
a000849
Fix celery logger
Uxio0 Jul 5, 2021
d9342ea
Update docker compose versions
Uxio0 Jul 5, 2021
60152fd
Bump gnosis-py from 3.1.9 to 3.1.11 (#292)
dependabot[bot] Jul 12, 2021
729ef35
Bump django-timezone-field from 4.1.2 to 4.2.1 (#291)
dependabot[bot] Jul 12, 2021
e073e2d
Bump faker from 8.9.1 to 8.10.0 (#290)
dependabot[bot] Jul 12, 2021
794c19b
Add basic support for EIP1559
Uxio0 Jul 12, 2021
6f8a0a8
Bump gnosis-py from 3.1.11 to 3.1.14 (#300)
dependabot[bot] Jul 26, 2021
9074267
Bump faker from 8.10.0 to 8.10.2 (#299)
dependabot[bot] Jul 26, 2021
d023ecb
Bump requests from 2.25.1 to 2.26.0 (#298)
dependabot[bot] Jul 26, 2021
ccd1f03
Bump numpy from 1.21.0 to 1.21.1 (#294)
dependabot[bot] Jul 26, 2021
7979e52
Bump faker from 8.10.2 to 8.10.3 (#301)
dependabot[bot] Aug 2, 2021
91cb63f
Bump django from 3.2.5 to 3.2.6 (#302)
dependabot[bot] Aug 2, 2021
c460cee
Bump faker from 8.10.3 to 8.12.1 (#311)
dependabot[bot] Aug 30, 2021
c24eaf3
Bump numpy from 1.21.1 to 1.21.2 (#307)
dependabot[bot] Aug 30, 2021
d099c55
Bump web3 from 5.19.0 to 5.23.1 (#312)
dependabot[bot] Aug 30, 2021
149546a
Bump hexbytes from 0.2.1 to 0.2.2 (#313)
dependabot[bot] Aug 30, 2021
ba792ad
Bump django-environ from 0.4.5 to 0.7.0 (#318)
dependabot[bot] Sep 13, 2021
82ed06b
Bump pytest from 6.2.4 to 6.2.5 (#316)
dependabot[bot] Sep 13, 2021
16335d0
Bump django from 3.2.6 to 3.2.7 (#314)
dependabot[bot] Sep 13, 2021
1e5a58d
Bump faker from 8.12.1 to 8.13.2 (#320)
dependabot[bot] Sep 20, 2021
64ba358
Bump gnosis-py[django] from 3.2.2 to 3.3.3
dependabot[bot] Sep 20, 2021
e5105cb
Bump faker from 8.13.2 to 8.14.0
dependabot[bot] Sep 27, 2021
eff8526
Bump gnosis-py[django] from 3.3.3 to 3.4.0
dependabot[bot] Sep 27, 2021
50d91be
Update dependencies
Uxio0 Sep 28, 2021
db67fc3
Set version 3.12.11
Uxio0 Sep 28, 2021
b62df3c
Support v1.3.0 Safe contracts (#329)
Uxio0 Oct 15, 2021
8a300f1
Use black formatter
Uxio0 Oct 15, 2021
2281e48
Add deprecation flags to swagger where corresponding
Uxio0 Oct 15, 2021
eaec16f
Support new proxies (v1.3.0)
Uxio0 Oct 15, 2021
c36c947
Set version 4.0.0
Uxio0 Oct 15, 2021
dd5f9cc
Support V1.1.1 master copy by default
Uxio0 Oct 20, 2021
433280c
Set version 4.0.1
Uxio0 Oct 20, 2021
e4db2f9
Update dependencies
Uxio0 Oct 25, 2021
e7cdf86
Bump factory-boy from 3.2.0 to 3.2.1
dependabot[bot] Nov 1, 2021
2262921
Bump coverage from 5.5 to 6.1.1
dependabot[bot] Nov 1, 2021
4f395ff
Bump packaging from 21.0 to 21.2
dependabot[bot] Nov 1, 2021
880f052
Bump docutils from 0.17.1 to 0.18
dependabot[bot] Nov 1, 2021
c20e16d
Bump faker from 9.5.2 to 9.7.1
dependabot[bot] Nov 2, 2021
b6d1ef4
Fix coveralls
Uxio0 Nov 2, 2021
8697818
Rename deprecated Web3 methods
Uxio0 Nov 2, 2021
96f5a26
Bump lxml from 4.6.3 to 4.6.4
dependabot[bot] Nov 8, 2021
8150e91
Bump celery from 5.1.2 to 5.2.0
dependabot[bot] Nov 8, 2021
a8a4e80
Bump faker from 9.7.1 to 9.8.0
dependabot[bot] Nov 8, 2021
5088d57
Bump numpy from 1.21.3 to 1.21.4
dependabot[bot] Nov 8, 2021
006b056
Bump django from 3.2.8 to 3.2.9
dependabot[bot] Nov 8, 2021
c39bc0d
Bump gnosis-py[django] from 3.5.3 to 3.6.0
dependabot[bot] Nov 15, 2021
c53bf81
Bump faker from 9.8.0 to 9.8.1
dependabot[bot] Nov 15, 2021
bcc3045
Bump psycopg2-binary from 2.9.1 to 2.9.2
dependabot[bot] Nov 15, 2021
843b9e5
Bump gnosis-py[django] from 3.6.0 to 3.7.0
dependabot[bot] Nov 22, 2021
b4c4b41
Bump faker from 9.8.1 to 9.8.2
dependabot[bot] Nov 22, 2021
630b9a5
Bump coverage from 5.5 to 6.1.2
dependabot[bot] Nov 15, 2021
327ece6
Support EIP-1559 (#358)
Uxio0 Nov 24, 2021
1967b90
Bump faker from 9.8.2 to 9.8.3
dependabot[bot] Nov 24, 2021
a771a26
Bump docutils from 0.18 to 0.18.1
dependabot[bot] Nov 24, 2021
0829c7f
Bump coverage from 6.1.2 to 6.2
dependabot[bot] Nov 29, 2021
d4915b3
Bump lxml from 4.6.4 to 4.6.5
dependabot[bot] Dec 13, 2021
02ced46
Bump gnosis-py[django] from 3.7.1a0 to 3.7.5
dependabot[bot] Dec 13, 2021
238f208
Bump pytest-django from 4.4.0 to 4.5.2
dependabot[bot] Dec 13, 2021
d8251f8
Bump django-redis from 5.0.0 to 5.1.0
dependabot[bot] Dec 6, 2021
afffc2e
Bump django from 3.2.9 to 3.2.10
dependabot[bot] Dec 14, 2021
aa3595e
Set version 4.0.2
Uxio0 Dec 14, 2021
3417a5b
Bump lxml from 4.6.5 to 4.7.1
dependabot[bot] Dec 20, 2021
69734f4
Bump faker from 9.8.3 to 10.0.0
dependabot[bot] Dec 20, 2021
6bd3410
Bump djangorestframework-camel-case from 1.2.0 to 1.3.0
dependabot[bot] Dec 20, 2021
ce8924b
Update python to v3.10 (#380)
Uxio0 Dec 20, 2021
98cfabf
Bump numpy from 1.21.4 to 1.21.5
dependabot[bot] Dec 20, 2021
2791455
Bump celery from 5.2.1 to 5.2.3
dependabot[bot] Jan 10, 2022
9c06277
Bump mypy from 0.910 to 0.931
dependabot[bot] Jan 10, 2022
db9347c
Bump djangorestframework from 3.12.4 to 3.13.1
dependabot[bot] Jan 24, 2022
fb86b1b
Bump django from 3.2.10 to 3.2.11
dependabot[bot] Jan 24, 2022
688c130
Bump gnosis-py[django] from 3.7.5 to 3.7.7
dependabot[bot] Jan 24, 2022
bcd6f0d
Bump psycopg2-binary from 2.9.2 to 2.9.3
dependabot[bot] Jan 24, 2022
fa71362
Bump numpy from 1.21.5 to 1.22.1
dependabot[bot] Jan 24, 2022
0d15c9c
Update dependencies
Uxio0 Jan 24, 2022
485ddb3
Bump django from 3.2.11 to 3.2.12
dependabot[bot] Feb 10, 2022
a39ff02
Add autodeploy github actions step with nginx auth script
Mar 10, 2022
8f45041
Update minor fixes for the githubactions pipeline
Mar 10, 2022
90167f8
Update minor fix in github actions dependencies
Mar 10, 2022
6f78f2a
Merge pull request #409 from gnosis/autodeploy-auth
gMonty030 Mar 11, 2022
8e3f671
Bump actions/checkout from 2 to 3
dependabot[bot] Mar 11, 2022
dc4c10b
Bump actions/setup-python from 2 to 3
dependabot[bot] Mar 7, 2022
f53d434
Bump coverage from 6.2 to 6.3.2
dependabot[bot] Feb 21, 2022
0fb12ab
Bump redis from 3.5.3 to 4.1.4
dependabot[bot] Feb 21, 2022
6b85c01
Bump actions/cache from 2 to 3
dependabot[bot] Mar 21, 2022
bc8ed27
Bump cachetools from 4.2.4 to 5.0.0
dependabot[bot] Feb 11, 2022
078fb7e
Bump pytest from 6.2.5 to 7.1.1
dependabot[bot] Mar 21, 2022
6181157
Bump numpy from 1.22.1 to 1.22.3
dependabot[bot] Mar 23, 2022
70583c8
Bump gnosis-py[django] from 3.7.7 to 3.9.0
dependabot[bot] Mar 23, 2022
3820bca
Remove pyethereum dependency
Uxio0 Mar 23, 2022
1920f5e
Bump lxml from 4.7.1 to 4.8.0
dependabot[bot] Mar 23, 2022
707c715
Bump faker from 11.3.0 to 13.3.2
dependabot[bot] Mar 23, 2022
ddd3ec4
Bump web3 from 5.24.0 to 5.28.0
dependabot[bot] Mar 11, 2022
f17d6cc
Bump mypy from 0.931 to 0.941
dependabot[bot] Mar 23, 2022
f422059
Bump requests from 2.26.0 to 2.27.1
dependabot[bot] Mar 23, 2022
a3248ea
Bump faker from 13.3.2 to 13.3.3
dependabot[bot] Mar 28, 2022
f111a77
Bump django-stubs from 1.9.0 to 1.10.0
dependabot[bot] Mar 28, 2022
fc661e1
Bump mypy from 0.941 to 0.942
dependabot[bot] Mar 28, 2022
088db87
Update pre-commit dependencies
Uxio0 Apr 4, 2022
4b0706e
Bump redis from 4.1.4 to 4.2.1
dependabot[bot] Apr 4, 2022
4a94c8c
Bump gnosis-py[django] from 3.9.0 to 3.9.2
dependabot[bot] Apr 4, 2022
3705f63
Bump django-stubs from 1.10.0 to 1.10.1
dependabot[bot] Apr 4, 2022
6e34386
Update LICENSE
rmeissner May 13, 2022
95e2423
Update github actions
Uxio0 Oct 10, 2022
e86acc4
Update dependencies
Uxio0 Oct 10, 2022
4eb2d25
Update docker compose files
Uxio0 Oct 10, 2022
3a27e1c
Set version 4.1.0
Uxio0 Oct 10, 2022
aa6f90e
Update org in docker images
fmrsabino Nov 3, 2022
4268a9d
Bump pytest-env from 0.6.2 to 0.8.1
dependabot[bot] Oct 24, 2022
5e92726
Bump numpy from 1.23.3 to 1.23.4
dependabot[bot] Oct 17, 2022
3f917d1
Bump safe-eth-py[django] from 4.5.1 to 4.5.2
dependabot[bot] Oct 17, 2022
86d4ec7
Bump faker from 15.0.0 to 15.1.1
dependabot[bot] Oct 17, 2022
d79c896
Fix tests due to EIP1559
Uxio0 Nov 3, 2022
48deba7
Remove autodeploy
Uxio0 Nov 3, 2022
e72b121
Bump psycopg2 from 2.9.4 to 2.9.5
dependabot[bot] Nov 7, 2022
3b376b9
Bump django-stubs from 1.12.0 to 1.13.0
dependabot[bot] Nov 7, 2022
aba57da
Bump pytest-sugar from 0.9.5 to 0.9.6
dependabot[bot] Nov 7, 2022
badf5d2
Bump django-celery-beat from 2.3.0 to 2.4.0
dependabot[bot] Nov 7, 2022
eee6330
Bump django from 3.2.16 to 4.1.3
dependabot[bot] Nov 7, 2022
330db51
Bump mypy from 0.982 to 0.990
dependabot[bot] Nov 14, 2022
eac3a6d
Bump safe-eth-py[django] from 4.6.0 to 4.7.0
dependabot[bot] Nov 14, 2022
5ddf7d1
Bump faker from 15.1.1 to 15.3.1
dependabot[bot] Nov 14, 2022
b2fe3b4
Bump faker from 15.3.1 to 15.3.2
dependabot[bot] Nov 21, 2022
4a250e2
Bump django-model-utils from 4.2.0 to 4.3.1
dependabot[bot] Nov 21, 2022
d5f1b36
Bump safe-eth-py[django] from 4.7.0 to 4.7.1
dependabot[bot] Nov 21, 2022
5c72d58
Bump numpy from 1.23.4 to 1.23.5
dependabot[bot] Nov 21, 2022
f1952e1
Bump mypy from 0.990 to 0.991
dependabot[bot] Nov 28, 2022
f24ad63
Bump web3 from 5.31.1 to 5.31.3
dependabot[bot] Dec 5, 2022
da238d7
Bump redis from 4.3.4 to 4.4.0
dependabot[bot] Dec 5, 2022
465198c
Remove DutchX and Binance oracles
Uxio0 Dec 19, 2022
2c2a90a
Bump pytest from 7.1.3 to 7.2.0 (#495)
dependabot[bot] Dec 19, 2022
a7a13ca
Update dependencies
Uxio0 Dec 19, 2022
0c92363
Update README
Uxio0 Dec 19, 2022
42e4ee9
Add uniswap v2 and v3 oracles
IanCal Dec 5, 2022
7094536
Fix tests
Uxio0 Dec 19, 2022
5a2463b
Set version 4.2.0
Uxio0 Dec 19, 2022
8f86e7f
Add release event to CI
Uxio0 Dec 19, 2022
39abefa
Bump redis from 4.4.0 to 4.4.2
dependabot[bot] Jan 16, 2023
86af12c
Bump numpy from 1.24.0 to 1.24.1
dependabot[bot] Jan 2, 2023
d8ba7a9
Bump django from 4.1.4 to 4.1.5
dependabot[bot] Jan 2, 2023
9e30a48
Bump cachetools from 5.2.0 to 5.3.0
dependabot[bot] Jan 23, 2023
b98906f
Rename gnosis-safe-token-logos URL
Uxio0 Jan 24, 2023
5635fda
Update precommit
Uxio0 Jan 30, 2023
65083c7
Bump packaging from 22.0 to 23.0
dependabot[bot] Jan 30, 2023
8178ae6
Bump pytest from 7.2.0 to 7.2.1
dependabot[bot] Jan 30, 2023
24dd60f
Bump safe-eth-py[django] from 4.8.2 to 4.9.3
dependabot[bot] Jan 30, 2023
b8b57dc
Bump django-stubs from 1.13.1 to 1.14.0
dependabot[bot] Jan 30, 2023
6c45c2f
Bump safe-eth-py[django] from 4.9.3 to 5.0.1
dependabot[bot] Feb 13, 2023
858df09
Bump numpy from 1.24.1 to 1.24.2 (#536)
dependabot[bot] Feb 13, 2023
7a86e2d
Bump django from 4.1.5 to 4.1.6
dependabot[bot] Feb 3, 2023
07e3b43
Bump coverage from 7.0.0 to 7.1.0
dependabot[bot] Jan 30, 2023
a9d504a
Bump requests from 2.28.1 to 2.28.2
dependabot[bot] Feb 13, 2023
808e554
Bump redis from 4.4.2 to 4.5.1
dependabot[bot] Feb 20, 2023
fdf21a0
Bump djangorestframework-camel-case from 1.3.0 to 1.4.2
dependabot[bot] Feb 20, 2023
16bc722
Bump faker from 15.3.4 to 17.0.0
dependabot[bot] Feb 20, 2023
a01a40a
Bump django from 4.1.6 to 4.1.7
dependabot[bot] Feb 15, 2023
9098784
Fix tests
Uxio0 Feb 20, 2023
32376c7
Update precommit
Uxio0 Feb 20, 2023
ae35f1c
Add configuration for automatic releases
Uxio0 Feb 20, 2023
b5d2f1a
Format files with new black version
Uxio0 Feb 20, 2023
4494a86
Bump safe-eth-py[django] from 5.0.1 to 5.0.2
dependabot[bot] Feb 27, 2023
61d47dd
Bump django-stubs from 1.14.0 to 1.16.0
dependabot[bot] Mar 20, 2023
b0d6f57
Bump coverage from 7.1.0 to 7.2.2
dependabot[bot] Mar 20, 2023
a62d604
Fix the estimate tx gas price function (#554)
FadhlanR Mar 20, 2023
d995dc0
Bump faker from 17.0.0 to 17.6.0
dependabot[bot] Mar 20, 2023
1304c3a
Bump drf-yasg[validation] from 1.21.4 to 1.21.5
dependabot[bot] Feb 27, 2023
32ef407
Set version 4.3.0
Uxio0 Mar 21, 2023
9aa4495
Bump django-environ from 0.9.0 to 0.10.0
dependabot[bot] Mar 27, 2023
a43bc18
Bump redis from 4.5.1 to 4.5.3
dependabot[bot] Mar 27, 2023
33483b6
Bump pytest from 7.2.1 to 7.2.2
dependabot[bot] Mar 27, 2023
6a6921c
Bump faker from 17.6.0 to 18.3.1
dependabot[bot] Mar 27, 2023
fb97fd7
Add hiredis
Uxio0 Mar 28, 2023
0fae300
Don't allow zero address refund receiver
Uxio0 Mar 28, 2023
2322497
Bump redis from 4.5.3 to 4.5.4
dependabot[bot] Mar 31, 2023
13e35eb
Bump django-celery-beat from 2.4.0 to 2.5.0
dependabot[bot] Apr 3, 2023
e499389
Update dependencies
Uxio0 Aug 4, 2023
0b56fcb
Set version 4.3.1
Uxio0 Aug 4, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@ C_FORCE_ROOT=true
DEBUG=0
USE_DOCKER=True
CELERY_BROKER_URL=redis://redis/0
DATABASE_URL=psql://postgres@db:5432/postgres
DATABASE_URL=psql://postgres:postgres@db:5432/postgres
DJANGO_ALLOWED_HOSTS=*
DJANGO_SECRET_KEY=test-secret#-!key
DJANGO_SETTINGS_MODULE=config.settings.local
DJANGO_SETTINGS_MODULE=config.settings.production
ETHEREUM_NODE_URL=http://ganache:8545
REDIS_URL=redis://redis/0
SAFE_CONTRACT_ADDRESS=0xe78A0F7E598Cc8b0Bb87894B0F60dD2a88d6a8Ab
SAFE_FUNDER_PRIVATE_KEY=4f3edf983ac636a65a842ce7c78d9aa706d3b113bce9c46f30d7d21715b23b1d
SAFE_OLD_CONTRACT_ADDRESS=0xCfEB869F69431e42cdB54A4F4f105C19C080A601
SAFE_PROXY_FACTORY_ADDRESS=0xC89Ce4735882C9F0f0FE26686c53074E09B0D550
SAFE_TX_SENDER_PRIVATE_KEY=6cbed15c793ce57650b9877cf6fa156fbef513c4e6134f022a85b1ffdd59b2a1
DEPLOY_MASTER_COPY_ON_INIT=1
DEPLOY_MASTER_COPY_ON_INIT=0
5 changes: 1 addition & 4 deletions .env_local → .env.local
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,11 @@ C_FORCE_ROOT=true
DEBUG=0
USE_DOCKER=True
CELERY_BROKER_URL=redis://localhost/0
DATABASE_URL=psql://postgres@localhost:5432/postgres
DATABASE_URL=psql://postgres:postgres@localhost:5432/postgres
DJANGO_SECRET_KEY=test-secret#-!key
DJANGO_SETTINGS_MODULE=config.settings.test
ETHEREUM_NODE_URL=http://localhost:8545
REDIS_URL=redis://localhost/0
SAFE_CONTRACT_ADDRESS=0xb6029EA3B2c51D09a50B53CA8012FeEB05bDa35A
SAFE_FUNDER_PRIVATE_KEY=4f3edf983ac636a65a842ce7c78d9aa706d3b113bce9c46f30d7d21715b23b1d
SAFE_OLD_CONTRACT_ADDRESS=0x8942595A2dC5181Df0465AF0D7be08c8f23C93af
SAFE_PROXY_FACTORY_ADDRESS=0x12302fE9c02ff50939BaAaaf415fc226C078613C
SAFE_TX_SENDER_PRIVATE_KEY=6cbed15c793ce57650b9877cf6fa156fbef513c4e6134f022a85b1ffdd59b2a1
DEPLOY_MASTER_COPY_ON_INIT=0
14 changes: 14 additions & 0 deletions .env.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Test project outside docker
PYTHONPATH=/app/safe_relay_service
C_FORCE_ROOT=true
DEBUG=0
USE_DOCKER=False
DJANGO_SETTINGS_MODULE=config.settings.test
DJANGO_SECRET_KEY=test-secret#-!key
DATABASE_URL=psql://postgres:postgres@localhost:5432/postgres
REDIS_URL=redis://localhost/0
CELERY_BROKER_URL=redis://localhost/0
ETHEREUM_NODE_URL=http://localhost:8545
SAFE_FUNDER_PRIVATE_KEY=4f3edf983ac636a65a842ce7c78d9aa706d3b113bce9c46f30d7d21715b23b1d
SAFE_TX_SENDER_PRIVATE_KEY=6cbed15c793ce57650b9877cf6fa156fbef513c4e6134f022a85b1ffdd59b2a1
DEPLOY_MASTER_COPY_ON_INIT=0
17 changes: 17 additions & 0 deletions .env_ganache
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
PYTHONPATH=/app/safe_relay_service
C_FORCE_ROOT=true
DEBUG=0
USE_DOCKER=True
CELERY_BROKER_URL=redis://redis/0
DATABASE_URL=psql://postgres:postgres@db:5432/postgres
DJANGO_ALLOWED_HOSTS=*
DJANGO_SECRET_KEY=test-secret#-!key
DJANGO_SETTINGS_MODULE=config.settings.local
ETHEREUM_NODE_URL=http://ganache:8545
REDIS_URL=redis://redis/0
SAFE_FUNDER_PRIVATE_KEY=4f3edf983ac636a65a842ce7c78d9aa706d3b113bce9c46f30d7d21715b23b1d
SAFE_TX_SENDER_PRIVATE_KEY=6cbed15c793ce57650b9877cf6fa156fbef513c4e6134f022a85b1ffdd59b2a1
DEPLOY_MASTER_COPY_ON_INIT=1
SAFE_CONTRACT_ADDRESS=0xe78A0F7E598Cc8b0Bb87894B0F60dD2a88d6a8Ab
SAFE_PROXY_FACTORY_ADDRESS=0x254dffcd3277C0b1660F6d42EFbB754edaBAbC2B
SAFE_V1_0_0_CONTRACT_ADDRESS=0x5b1869D9A4C187F2EAa108f3062412ecf0526b24
11 changes: 0 additions & 11 deletions .env_rinkeby

This file was deleted.

15 changes: 15 additions & 0 deletions .github/ISSUE_TEMPLATE/add_token.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
name: Request token
about: Request a missing token on the Gnosis Safe
title: 'Add token "NAME"'
labels: tokens
assignees: Uxio0

---

**Token information**
- Name:
- Etherscan link:
- Website (to prevent scam tokens):
- Image (at least 200x200, `PNG` if possible)

12 changes: 5 additions & 7 deletions .github/bug_report.md → .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: Uxio0

---

Expand All @@ -9,16 +12,11 @@ A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Call endpoint '...'
2. Use filter '....'
3. Then call '....'
4. See error
1. Do POST on '...'
2. Then GET on '....'

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Additional context**
Add any other context about the problem here.
32 changes: 32 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: Uxio0

---

# What is needed?
A clear and concise description of what you want to happen.

# Background
More information about the feature needed

# Related issues
Paste here the related links for the issues on the clients/safe project if applicable

# Endpoint
If applicable, description on the endpoint and the result you expect:

## URL
`GET /api/v1/safes/<address>/creation/`

## Response
```
{
created: "<iso 8601 datetime>",
transactionHash: "<keccak-hash>",
creator: "<checksummed-address>"
}
```
25 changes: 25 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
version: 2
updates:
- package-ecosystem: pip
directory: "/"
schedule:
interval: weekly
day: monday
reviewers:
- "uxio0"

- package-ecosystem: docker
directory: "/docker/web"
schedule:
interval: weekly
day: monday
reviewers:
- "uxio0"

- package-ecosystem: github-actions
directory: "/"
schedule:
interval: weekly
day: monday
reviewers:
- "uxio0"
31 changes: 0 additions & 31 deletions .github/feature_request.md

This file was deleted.

15 changes: 15 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
changelog:
categories:
- title: 🏕 Features
labels:
- '*'
exclude:
labels:
- dependencies
- breaking_change
- title: 🛠 Breaking Changes
labels:
- breaking_change
- title: 👒 Dependencies
labels:
- dependencies
116 changes: 116 additions & 0 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
name: Python CI
on:
push:
branches:
- master
- develop
pull_request:
release:
types: [ released ]

jobs:
linting:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install pre-commit
- name: Run pre-commit
run: pre-commit run --all-files

test-app:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
services:
redis:
image: redis
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 6379:6379
postgres:
image: postgres:13
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
steps:
- name: Setup and run ganache
run: |
docker run --detach --publish 8545:8545 --network-alias ganache -e DOCKER=true trufflesuite/ganache:latest --defaultBalanceEther 10000 --gasLimit 10000000 -a 30 --chain.chainId 1337 --chain.networkId 1337 -d
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: 'requirements*.txt'
- name: Install dependencies
run: |
pip install wheel
pip install -r requirements-test.txt
env:
PIP_USE_MIRRORS: true
- name: Run tests and coverage
run: |
python manage.py check
python manage.py makemigrations --check --dry-run
coverage run --source=$SOURCE_FOLDER -m pytest -rxXs
env:
SOURCE_FOLDER: safe_relay_service
CELERY_BROKER_URL: redis://localhost:6379/0
DJANGO_SETTINGS_MODULE: config.settings.test
DATABASE_URL: psql://postgres:postgres@localhost/postgres
ETHEREUM_NODE_URL: http://localhost:8545
ETHEREUM_TRACING_NODE_URL: http://localhost:8545
ETH_HASH_BACKEND: pysha3
REDIS_URL: redis://localhost:6379/0
- name: Coveralls
uses: coverallsapp/github-action@v2
docker-deploy:
runs-on: ubuntu-latest
needs:
- linting
- test-app
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop' || startsWith(github.ref, 'refs/tags/')
steps:
- uses: actions/checkout@v3
- name: Dockerhub login
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Deploy Master
if: github.ref == 'refs/heads/master'
run: bash scripts/deploy_docker.sh staging
env:
DOCKERHUB_PROJECT: safe-relay-service
- name: Deploy Develop
if: github.ref == 'refs/heads/develop'
run: bash scripts/deploy_docker.sh develop
env:
DOCKERHUB_PROJECT: safe-relay-service
- name: Deploy Tag
if: startsWith(github.ref, 'refs/tags/')
run: bash scripts/deploy_docker.sh ${GITHUB_REF##*/}
env:
DOCKERHUB_PROJECT: safe-relay-service
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,6 @@ typings/
.vscode

venv/
.venv
config/settings/dev.py
db.sqlite3
28 changes: 28 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 23.1.0
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
hooks:
- id: flake8
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-docstring-first
- id: check-merge-conflict
- id: debug-statements
- id: detect-private-key
- id: requirements-txt-fixer
- id: trailing-whitespace
- id: end-of-file-fixer
types: [python]
- id: check-yaml
- id: check-added-large-files
Loading