Skip to content

Commit

Permalink
Fix xor fee precision (#84)
Browse files Browse the repository at this point in the history
* Fix xor-fee precision

* Fix deps

* Update Jenkinsfile

* Update Jenkinsfile

---------

Co-authored-by: f33r0 <95526886+f33r0@users.noreply.github.com>
  • Loading branch information
vovac12 and f33r0 authored Nov 3, 2023
1 parent b058188 commit 6c9eb77
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ def pipeline = new org.docker.AppPipeline(steps: this,
dockerImageName: 'sora2/pricing-server',
dockerRegistryCred: 'bot-sora2-rw',
secretScannerExclusion: '.*docker-compose.yml',
dockerImageTags: ['master':'latest'],
gitUpdateSubmodule: true)
pipeline.runPipeline()
2 changes: 1 addition & 1 deletion models.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class Swap(Base):
txid = Column(Numeric(80))
block = Column(Integer, nullable=False)
timestamp = Column(BigInteger, index=True, nullable=False)
xor_fee = Column(Numeric(20), nullable=False)
xor_fee = Column(Numeric(40), nullable=False)
pair_id = Column(ForeignKey("pair.id"), nullable=False)
from_amount = Column(Numeric(), nullable=False)
to_amount = Column(Numeric(), nullable=False)
Expand Down
3 changes: 3 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -116,5 +116,8 @@ websocket-client==0.59.0
xxhash==2.0.2
# via substrate-interface

eth-utils==1.3.0
# fix substrateinterface import error

# The following packages are considered to be unsafe in a requirements file:
# setuptools

0 comments on commit 6c9eb77

Please sign in to comment.