Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.10.0 #276

Merged
merged 42 commits into from
Sep 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
f94a98c
chore(deps): update prettier to 8.4, add missing dependency to ui, up…
pbennett Sep 12, 2024
d6bc615
chore(deps): update eslint/prettier to v8.5.0
renovate[bot] Sep 12, 2024
e1e3f34
fix(ui): correct lint errors
pbennett Sep 12, 2024
627f1a8
Merge branch 'dev' into renovate/contracts-eslintprettier
pbennett Sep 12, 2024
70aff8b
Merge pull request #256 from TxnLab/renovate/contracts-eslintprettier
pbennett Sep 12, 2024
457893a
chore(ui): update eslint/prettier
renovate[bot] Sep 12, 2024
1acf7a3
Merge pull request #261 from TxnLab/renovate/ui-eslintprettier
pbennett Sep 12, 2024
86db867
chore(bootstrap): update dependency typescript to v5.6.2
renovate[bot] Sep 12, 2024
5e51a16
chore(deps): update dependency typescript to v5.6.2
renovate[bot] Sep 12, 2024
262b01c
Merge pull request #265 from TxnLab/renovate/contracts-non-major-depe…
pbennett Sep 13, 2024
2889481
Merge pull request #274 from TxnLab/renovate/bootstrap-non-major-depe…
pbennett Sep 13, 2024
d863eb8
feat(ui): Set network reset in use-wallet so Reti client always uses …
pbennett Sep 13, 2024
29167b6
chore: 0.9.10
pbennett Sep 13, 2024
f147a33
feat(contracts): Removed need of feesink template var.
pbennett Sep 14, 2024
0adb643
chore: fix lint errors
pbennett Sep 14, 2024
9bbc655
Test re-enabling CI tests but w/ custom sandbox config pointing to ma…
pbennett Sep 19, 2024
d7c6892
chore: have prettier ignore localnet_config directory used in CI
pbennett Sep 19, 2024
82a08ac
Increase test timeout
pbennett Sep 19, 2024
87e6b56
missed increasing test timeout in retest script
pbennett Sep 19, 2024
be22b63
chore(deps): update dependency vitest to v2.1.1
renovate[bot] Sep 19, 2024
18fdaf3
chore(deps): update eslint/prettier
renovate[bot] Sep 19, 2024
b0b5d3e
Merge pull request #275 from TxnLab/renovate/contracts-non-major-depe…
pbennett Sep 19, 2024
e5d677a
Merge branch 'dev' into renovate/contracts-eslintprettier
pbennett Sep 19, 2024
5b708c6
Merge pull request #279 from TxnLab/renovate/contracts-eslintprettier
pbennett Sep 19, 2024
97eccd6
chore(contracts): Switch 'is valid nfd' call from pre-ABI call to ABI…
pbennett Sep 20, 2024
e0c4699
artifacts re-generated w/ tealscript 0.103
pbennett Sep 23, 2024
fdcfcdd
Updated swagger-generated nfd api w/ latest v3 api
pbennett Sep 27, 2024
7d47ca6
Initial commit adding first pass at automatic eviction support of sta…
pbennett Sep 27, 2024
2fc56d4
shut up vercel (not that this branch matters?)
pbennett Sep 27, 2024
dfbdb0c
Merge pull request #285 from TxnLab/txn-1908-add-gating-tracking-supp…
pbennett Sep 27, 2024
2d4fe01
Update testnet app id to newly deployed version with latest contract …
pbennett Sep 27, 2024
7825bc4
chore(ui): upgrade dependencies (#286)
drichar Sep 28, 2024
88b0a78
chore(ui): update dependency vite to v5.4.6 [security] (#280)
renovate[bot] Sep 28, 2024
e9d05ff
chore(deps): upgrade vitest to v2.1.1 (#288)
drichar Sep 28, 2024
1c21e2e
chore(deps): update eslint/prettier to v8.7.0 (#283)
renovate[bot] Sep 28, 2024
511ff51
chore(bootstrap): update dependency @types/node to v20.16.7 (#284)
renovate[bot] Sep 28, 2024
68a03a6
chore(renovate): add ignorePaths property
drichar Sep 28, 2024
88dfbc1
chore: add .nvmrc set to node v20
drichar Sep 28, 2024
2a3296c
fix(nodemgr): update module github.com/prometheus/client_golang to v1…
renovate[bot] Sep 28, 2024
58a5271
Merge pull request #281 from TxnLab/renovate/node-manager
pbennett Sep 28, 2024
6e5c3e2
chore: Updated version to 0.10.0
pbennett Sep 28, 2024
688c118
Merge branch 'main' into dev
pbennett Sep 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ on:
pull_request:
branches:
- 'main'
# - 'dev'

jobs:
ci-tests:
Expand Down Expand Up @@ -61,7 +60,7 @@ jobs:
run: pipx install algokit

- name: Start local Algorand network
run: algokit localnet start
run: algokit localnet start --name master --config-dir ./contracts/localnet_config

- name: Run Contract tests from already built contracts
run: pnpm --filter ./contracts run retest
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v20
1 change: 1 addition & 0 deletions contracts/.prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
contracts/artifacts
contracts/clients
localnet_config
7 changes: 3 additions & 4 deletions contracts/__test__/contracts.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { afterEach, beforeAll, beforeEach, describe, expect, test } from 'vitest
import { algoKitLogCaptureFixture, algorandFixture } from '@algorandfoundation/algokit-utils/testing'
import { consoleLogger } from '@algorandfoundation/algokit-utils/types/logging'
import { AlgoAmount } from '@algorandfoundation/algokit-utils/types/amount'
import { Account, decodeAddress, encodeAddress, getApplicationAddress } from 'algosdk'
import { Account, encodeAddress, getApplicationAddress } from 'algosdk'
import { assetOptIn, transferAlgos, transferAsset } from '@algorandfoundation/algokit-utils'
import { AlgorandTestAutomationContext } from '@algorandfoundation/algokit-utils/types/testing'
import { StakingPoolClient } from '../contracts/clients/StakingPoolClient'
Expand Down Expand Up @@ -37,7 +37,7 @@ import {
ValidatorPoolKey,
} from '../helpers/helpers'

const FEE_SINK_ADDR = 'Y76M3MSY6DKBRHBL7C3NNDXGS5IIMQVQVUAB6MP4XEMMGVF2QWNPL226CA'
const FEE_SINK_ADDR = 'A7NMWS3NT3IUDMLVO26ULGXGIIOUQ3ND2TXSER6EBGRZNOBOUIQXHIBGDE'

const MaxPoolsPerNode = 3
// Periodically set this to max amount allowed in protocol (200 atm) but when testing more frequently this should be lowered to something like 20 stakers
Expand Down Expand Up @@ -77,7 +77,6 @@ beforeAll(async () => {
const { approvalCompiled } = await poolClient.appClient.compile({
deployTimeParams: {
nfdRegistryAppId: 0,
feeSinkAddr: decodeAddress(FEE_SINK_ADDR).publicKey,
},
})
validatorMasterClient = new ValidatorRegistryClient(
Expand Down Expand Up @@ -450,7 +449,7 @@ describe('StakeAdds', () => {
// capture current 'total' state for all pools
const origValidatorState = await getValidatorState(validatorMasterClient, validatorId)

// we create 'max pools per node' new pools on new node (first pool is still there which wee added as part of beforeAll)
// we create 'max pools per node' new pools on new node (first pool is still there which we added as part of beforeAll)
for (let i = 0; i < poolsToCreate; i += 1) {
const newPool = await addStakingPool(
fixture.context,
Expand Down
5 changes: 2 additions & 3 deletions contracts/bootstrap/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as algokit from '@algorandfoundation/algokit-utils'
import { AlgorandClient } from '@algorandfoundation/algokit-utils'
import { Account, decodeAddress, secretKeyToMnemonic } from 'algosdk'
import { Account, secretKeyToMnemonic } from 'algosdk'
import { AlgoAmount } from '@algorandfoundation/algokit-utils/types/amount'
import { getTestAccount } from '@algorandfoundation/algokit-utils/testing'
import * as fs from 'fs'
Expand Down Expand Up @@ -89,7 +89,7 @@ async function main() {
}).argv

console.log(`Network:${args.network}`)
const [algodConfig, registryAppID, feeSink] = getNetworkConfig(args.network)
const [algodConfig, registryAppID] = getNetworkConfig(args.network)

// default to localnet
let algorand: AlgorandClient = AlgorandClient.defaultLocalNet()
Expand Down Expand Up @@ -141,7 +141,6 @@ async function main() {
id: 0,
deployTimeParams: {
nfdRegistryAppId: Number(registryAppID),
feeSinkAddr: decodeAddress(feeSink).publicKey,
},
},
algorand.client.algod,
Expand Down
2 changes: 1 addition & 1 deletion contracts/bootstrap/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bootstrap",
"version": "0.9.9",
"version": "0.10.0",
"description": "",
"main": "index.ts",
"scripts": {
Expand Down
Loading