Update deps

This commit is contained in:
nolash 2021-04-12 17:13:41 +02:00
parent 1ddaea8acb
commit c9b60d526f
Signed by untrusted user who does not match committer: lash
GPG Key ID: 21D2E7BB88C2A746
6 changed files with 17 additions and 7 deletions

View File

@ -29,7 +29,7 @@ RUN /usr/local/bin/python -m pip install --upgrade pip
# python merge_requirements.py | tee merged_requirements.txt # python merge_requirements.py | tee merged_requirements.txt
#RUN cd cic-base && \ #RUN cd cic-base && \
# pip install $pip_extra_index_url_flag -r ./merged_requirements.txt # pip install $pip_extra_index_url_flag -r ./merged_requirements.txt
RUN pip install $pip_extra_index_url_flag cic-base[full_graph]==0.1.2a62 RUN pip install $pip_extra_index_url_flag cic-base[full_graph]==0.1.2a64
COPY cic-eth/scripts/ scripts/ COPY cic-eth/scripts/ scripts/
COPY cic-eth/setup.cfg cic-eth/setup.py ./ COPY cic-eth/setup.cfg cic-eth/setup.py ./

View File

@ -57,9 +57,9 @@ WORKDIR /home/grassroots
USER grassroots USER grassroots
ARG pip_extra_index_url=https://pip.grassrootseconomics.net:8433 ARG pip_extra_index_url=https://pip.grassrootseconomics.net:8433
ARG cic_base_version=0.1.2a62 ARG cic_base_version=0.1.2a64
ARG cic_eth_version=0.11.0b1 ARG cic_eth_version=0.11.0b1
ARG sarafu_faucet_version=0.0.2a19 ARG sarafu_faucet_version=0.0.2a20
ARG cic_contracts_version=0.0.2a2 ARG cic_contracts_version=0.0.2a2
RUN pip install --user --extra-index-url $pip_extra_index_url cic-base[full_graph]==$cic_base_version \ RUN pip install --user --extra-index-url $pip_extra_index_url cic-base[full_graph]==$cic_base_version \
cic-eth==$cic_eth_version \ cic-eth==$cic_eth_version \

View File

@ -241,7 +241,9 @@ class TrafficProvisioner:
#callback_queue=queue, #callback_queue=queue,
) )
t = api.balance(account, token.symbol()) t = api.balance(account, token.symbol())
r = t.get_leaf() r = t.get()
for c in t.collect():
r = c[1]
assert t.successful() assert t.successful()
#return r[0]['balance_network'] - r[0]['balance_outgoing'] #return r[0]['balance_network'] - r[0]['balance_outgoing']
return r[0] return r[0]

View File

@ -0,0 +1,2 @@
[app]
service_code = *483*46#

View File

@ -0,0 +1,6 @@
{
"dependencies": {
"cic-client-meta": "^0.0.7-alpha.6",
"vcard-parser": "^1.0.0"
}
}

View File

@ -1,5 +1,5 @@
cic-base[full_graph]==0.1.2a61 cic-base[full_graph]==0.1.2a64
sarafu-faucet==0.0.2a17 sarafu-faucet==0.0.2a20
cic-eth==0.11.0b1 cic-eth==0.11.0b1
cic-types==0.1.0a10 cic-types==0.1.0a10
crypto-dev-signer==0.4.14a17 crypto-dev-signer==0.4.14b1