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

Set version for web3 dependency and fix FeeTooLow #83

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN for i in {1..8}; do mkdir -p "/usr/share/man/man$i"; done

# Install postgres-client
RUN apt-get update \
&& apt-get install -y git postgresql-client libpq-dev libxml2-dev libxslt-dev python-dev zlib1g-dev
&& apt-get install -y git postgresql-client libpq-dev libxml2-dev libxslt-dev zlib1g-dev

WORKDIR safe-relay-service

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ redis==4.3.4
requests==2.28.1
sgqlc==11.0
safe-eth-py[django]
web3
web3==5.31.4
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ def deploy_create2_safe_tx(self, safe_address: str) -> SafeCreation2:
setup_data,
safe_creation2.salt_nonce,
gas=safe_creation2.gas_estimated + 50000, # Just in case
gas_price=safe_creation2.gas_price_estimated+8,
gas_price=safe_creation2.gas_price_estimated + 1000000000,
nonce=tx_nonce,
)
EthereumTx.objects.create_from_tx_dict(
Expand Down
4 changes: 2 additions & 2 deletions safe_relay_service/relay/services/transaction_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ def estimate_circles_signup_tx(
"""
# Tx data from Circles Hub contract `signup` method
data = "0xb7bc0f73"
return 10000000000000000
return 50000000000000000

def estimate_circles_organization_signup_tx(
self, safe_address: str, gas_token: str = NULL_ADDRESS
Expand All @@ -410,7 +410,7 @@ def estimate_circles_organization_signup_tx(
"""
# Tx data from Circles Hub contract organizationSignup method
data = "0x3fbd653c"
return 10000000000000000
return 50000000000000000
# return self.estimate_circles_hub_method(data, safe_address, gas_token)

def create_multisig_tx(
Expand Down