diff --git a/Jenkinsfile b/Jenkinsfile index c0006c9..6d50a8b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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() diff --git a/models.py b/models.py index 54cfa67..16926c8 100644 --- a/models.py +++ b/models.py @@ -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) diff --git a/requirements.txt b/requirements.txt index 1c80522..62b6e85 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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