Skip to content

Commit

Permalink
Merge pull request #13 from Hipo/bump-sdk-version
Browse files Browse the repository at this point in the history
Bump `py-algorand-sdk` version requirement
  • Loading branch information
etzellux authored May 23, 2023
2 parents 26ac430 + c71a73c commit 8b31422
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The ledger state is set declaratively. Transactions are evaluated to produce a b
Standalone script:
```py
from algojig import JigLedger, get_suggested_params, generate_accounts
from algosdk.future.transaction import PaymentTxn
from algosdk.transaction import PaymentTxn

secrets, addresses = generate_accounts(2)
sp = get_suggested_params()
Expand Down
2 changes: 1 addition & 1 deletion algojig/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from pprint import pprint

from algosdk.account import generate_account
from algosdk.future.transaction import SuggestedParams
from algosdk.transaction import SuggestedParams
from algosdk.encoding import encode_address


Expand Down
2 changes: 1 addition & 1 deletion algojig/dryrun.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from dataclasses import dataclass
from typing import Dict, List
import algosdk
from algosdk.future.transaction import SuggestedParams
from algosdk.transaction import SuggestedParams
from algosdk.v2client import models
from algosdk.v2client.algod import AlgodClient
from algosdk.encoding import encode_address
Expand Down
2 changes: 1 addition & 1 deletion algojig/ledger.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from algosdk.account import generate_account
from algosdk.encoding import decode_address, encode_address, msgpack
from algosdk.future.transaction import write_to_file
from algosdk.transaction import write_to_file
from algosdk.logic import get_application_address

from . import gojig
Expand Down
2 changes: 1 addition & 1 deletion examples/boxes.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from algojig import JigLedger, get_suggested_params, generate_accounts
from algojig import TealishProgram
from algosdk.future.transaction import ApplicationNoOpTxn
from algosdk.transaction import ApplicationNoOpTxn
from algosdk.logic import get_application_address

secrets, addresses = generate_accounts(2)
Expand Down
2 changes: 1 addition & 1 deletion examples/counter_prize.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from algojig import JigLedger, get_suggested_params, generate_accounts, dump
from algojig import TealishProgram
from algosdk.future.transaction import ApplicationNoOpTxn
from algosdk.transaction import ApplicationNoOpTxn
from algosdk.logic import get_application_address

secrets, addresses = generate_accounts(2)
Expand Down
2 changes: 1 addition & 1 deletion examples/example1.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from algojig import get_suggested_params, generate_accounts, dump
from algojig.ledger import JigLedger
from algosdk.future.transaction import PaymentTxn
from algosdk.transaction import PaymentTxn

secrets, addresses = generate_accounts(2)

Expand Down
2 changes: 1 addition & 1 deletion examples/example2_1.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from algojig import JigLedger, get_suggested_params, generate_accounts, dump
from algojig import TealProgram
from algosdk.future.transaction import ApplicationNoOpTxn
from algosdk.transaction import ApplicationNoOpTxn

secrets, addresses = generate_accounts(2)
sp = get_suggested_params()
Expand Down
2 changes: 1 addition & 1 deletion examples/rekey1.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from algojig import get_suggested_params, generate_accounts, dump
from algojig.ledger import JigLedger
from algosdk.future.transaction import PaymentTxn
from algosdk.transaction import PaymentTxn


secrets, addresses = generate_accounts(3)
Expand Down
2 changes: 1 addition & 1 deletion examples/test_counter_prize.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import unittest
from algojig import JigLedger, get_suggested_params, generate_accounts
from algojig import TealishProgram
from algosdk.future.transaction import ApplicationNoOpTxn
from algosdk.transaction import ApplicationNoOpTxn
from algosdk.logic import get_application_address

secrets, addresses = generate_accounts(2)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
package_data={"algojig": ["algojig_*"]},
include_package_data=True,
install_requires=[
"py-algorand-sdk==1.20.0, <2.0",
"py-algorand-sdk>=2.0.0",
],
classifiers=[
"Development Status :: 2 - Pre-Alpha",
Expand Down
2 changes: 1 addition & 1 deletion tests/test_ledger.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from algojig import JigLedger, generate_accounts, get_suggested_params
from algojig.teal import TealProgram
from algosdk.future.transaction import (ApplicationNoOpTxn, AssetTransferTxn,
from algosdk.transaction import (ApplicationNoOpTxn, AssetTransferTxn,
LogicSigAccount, LogicSigTransaction,
PaymentTxn, assign_group_id)

Expand Down

0 comments on commit 8b31422

Please sign in to comment.