mirror of
https://github.com/grassrootseconomics/cic-custodial.git
synced 2025-04-15 05:21:01 +02:00
Compare commits
2 Commits
v0.7.1-alp
...
master
Author | SHA1 | Date | |
---|---|---|---|
cb40a6482a | |||
b244fc7dca |
2
go.mod
2
go.mod
@ -9,7 +9,7 @@ require (
|
||||
github.com/georgysavva/scany/v2 v2.0.0
|
||||
github.com/go-playground/validator/v10 v10.14.1
|
||||
github.com/google/uuid v1.3.0
|
||||
github.com/grassrootseconomics/celoutils v1.4.1-0.20240824053735-9873e8ac0473
|
||||
github.com/grassrootseconomics/celoutils v1.4.1-0.20250221123515-f25baeeb2f8c
|
||||
github.com/grassrootseconomics/w3-celo-patch v0.2.0
|
||||
github.com/hibiken/asynq v0.24.0
|
||||
github.com/jackc/pgx/v5 v5.4.0
|
||||
|
2
go.sum
2
go.sum
@ -281,6 +281,8 @@ github.com/grassrootseconomics/celoutils v1.4.0 h1:AJNKiOpfnQqZ3kRxeUlhWH/zlDDjh
|
||||
github.com/grassrootseconomics/celoutils v1.4.0/go.mod h1:Uo5YRy6AGLAHDZj9jaOI+AWoQ1H3L0v79728pPMkm9Q=
|
||||
github.com/grassrootseconomics/celoutils v1.4.1-0.20240824053735-9873e8ac0473 h1:caDCYYMKi7TEl00mlV7Vl2lTcsrD7hoFcQwXCec9Ztc=
|
||||
github.com/grassrootseconomics/celoutils v1.4.1-0.20240824053735-9873e8ac0473/go.mod h1:Uo5YRy6AGLAHDZj9jaOI+AWoQ1H3L0v79728pPMkm9Q=
|
||||
github.com/grassrootseconomics/celoutils v1.4.1-0.20250221123515-f25baeeb2f8c h1:HrCc3I59rA9wha2QkJe+vs9vF1r+uKDbxUrM/EFCJdk=
|
||||
github.com/grassrootseconomics/celoutils v1.4.1-0.20250221123515-f25baeeb2f8c/go.mod h1:Uo5YRy6AGLAHDZj9jaOI+AWoQ1H3L0v79728pPMkm9Q=
|
||||
github.com/grassrootseconomics/w3-celo-patch v0.2.0 h1:YqibbPzX0tQKmxU1nUGzThPKk/fiYeYZY6Aif3eyu8U=
|
||||
github.com/grassrootseconomics/w3-celo-patch v0.2.0/go.mod h1:WhBXNzNIvHmS6B2hAeShs56oa9Azb4jQSrOMKuMdBWw=
|
||||
github.com/hashicorp/go-bexpr v0.1.10/go.mod h1:oxlubA2vC/gFVfX1A6JGp7ls7uCDlfJn732ehYYg+g0=
|
||||
|
@ -19,7 +19,9 @@ var (
|
||||
// minGasBalanceRequired is optimistic that the immidiate next transfer request will be successful
|
||||
// but the subsequent one could fail (though low probability), therefore we can trigger a gas lock.
|
||||
// Therefore our system wide threshold is 0.01 CELO or 10000000000000000 gas units
|
||||
minGasBalanceRequired = big.NewInt(20000000000 * 250000 * 2)
|
||||
// UPDATE: Feb 2025
|
||||
// 0.04455 CELO
|
||||
minGasBalanceRequired = big.NewInt(27000000000 * 550000 * 3)
|
||||
)
|
||||
|
||||
// lockRetry will at most try to obtain the lock 20 times within ~0.5s.
|
||||
|
Loading…
Reference in New Issue
Block a user