Skip to content

Commit

Permalink
adding requests to requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
nadineloepfe committed Nov 26, 2024
1 parent 1f83fb5 commit caddd79
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ jobs:
OPERATOR_ID: ${{ steps.solo.outputs.accountId }}
OPERATOR_KEY: ${{ steps.solo.outputs.privateKey }}
PUBLIC_KEY: ${{ steps.solo.outputs.publicKey }}
NETWORK: solo
NETWORK: 'solo'
run: python test.py

3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ protobuf==5.27.2
grpcio
grpcio-tools
cryptography
python-dotenv
python-dotenv
requests
2 changes: 1 addition & 1 deletion test.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def transfer_token(client, recipient_id, token_id):
def main():
operator_id, operator_key = load_operator_credentials()

network = Network(os.getenv('NETWORK'))
network = Network(os.getenv('NETWORK', 'solo'))
client = Client(network)
client.set_operator(operator_id, operator_key)

Expand Down

0 comments on commit caddd79

Please sign in to comment.