Skip to content

Commit

Permalink
chore: update versions of puya-ts and algo-ts dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
boblat committed Jan 29, 2025
1 parent fa31b76 commit 70f5fc7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 61 deletions.
22 changes: 11 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@
"tslib": "^2.6.2"
},
"dependencies": {
"@algorandfoundation/algorand-typescript": "^1.0.0-beta.11",
"@algorandfoundation/puya-ts": "^1.0.0-beta.13",
"@algorandfoundation/algorand-typescript": "^1.0.0-beta.13",
"@algorandfoundation/puya-ts": "^1.0.0-beta.15",
"elliptic": "^6.5.7",
"js-sha256": "^0.11.0",
"js-sha3": "^0.9.3",
Expand Down
48 changes: 0 additions & 48 deletions src/test-execution-context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,7 @@ import { internal } from '@algorandfoundation/algorand-typescript'
import { captureMethodConfig } from './abi-metadata'
import { DEFAULT_TEMPLATE_VAR_PREFIX } from './constants'
import type { DecodedLogs, LogDecoding } from './decode-logs'
import { ApplicationTxn, AssetConfigTxn, AssetFreezeTxn, AssetTransferTxn, KeyRegistrationTxn, PaymentTxn, Transaction } from './impl/gtxn'
import {
applicationCall as itxnApplicationCall,
assetConfig as itxnAssetConfig,
assetFreeze as itxnAssetFreeze,
assetTransfer as itxnAssetTransfer,
keyRegistration as itxnKeyRegistration,
payment as itxnPayment,
submitGroup as itxnSubmitGroup,
} from './impl/inner-transactions'
import { Account, AccountCls } from './impl/reference'
import { Box, BoxMap, BoxRef, GlobalState, LocalState } from './impl/state'
import { ContractContext } from './subcontexts/contract-context'
import { LedgerContext } from './subcontexts/ledger-context'
import { TransactionContext } from './subcontexts/transaction-context'
Expand Down Expand Up @@ -78,43 +67,6 @@ export class TestExecutionContext implements internal.ExecutionContext {
}
}

/* @internal */
get gtxn() {
return {
Transaction,
PaymentTxn,
KeyRegistrationTxn,
AssetConfigTxn,
AssetTransferTxn,
AssetFreezeTxn,
ApplicationTxn,
}
}

/* @internal */
get itxn() {
return {
submitGroup: itxnSubmitGroup,
payment: itxnPayment,
keyRegistration: itxnKeyRegistration,
assetConfig: itxnAssetConfig,
assetTransfer: itxnAssetTransfer,
assetFreeze: itxnAssetFreeze,
applicationCall: itxnApplicationCall,
}
}

/* @internal */
get state() {
return {
GlobalState,
LocalState,
Box,
BoxMap,
BoxRef,
}
}

get activeLogicSigArgs(): bytes[] {
return this.#activeLogicSigArgs
}
Expand Down

0 comments on commit 70f5fc7

Please sign in to comment.