Skip to content

Commit

Permalink
Merge pull request #191 from TxnLab/dev
Browse files Browse the repository at this point in the history
chore: v0.9.0 and new contract deploy (app 673404372)
  • Loading branch information
pbennett authored May 28, 2024
2 parents 90e8fc0 + 85e95bd commit 172e3a9
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 11 deletions.
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.8.15",
"version": "0.9.0",
"description": "",
"main": "index.ts",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion contracts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "reti-contracts",
"version": "0.8.15",
"version": "0.9.0",
"license": "MIT",
"scripts": {
"generate-client": "algokit generate client contracts/artifacts/ --language typescript --output contracts/clients/{contract_name}Client.ts && ./update_contract_artifacts.sh``",
Expand Down
2 changes: 1 addition & 1 deletion nodemgr/internal/lib/algo/networks.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func getDefaults(network string) NetworkConfig {
cfg.NFDAPIUrl = "https://api.nf.domains"
cfg.NodeURL = "https://mainnet-api.algonode.cloud"
case "testnet":
cfg.RetiAppID = 668529889
cfg.RetiAppID = 673404372
cfg.NFDAPIUrl = "https://api.testnet.nf.domains"
cfg.NodeURL = "https://testnet-api.algonode.cloud"
case "betanet":
Expand Down
2 changes: 1 addition & 1 deletion ui/.env.template
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ VITE_NFD_APP_URL=https://app.testnet.nf.domains
VITE_NFD_REGISTRY_APP_ID=84366825

# Reti
VITE_RETI_APP_ID=668529889
VITE_RETI_APP_ID=673404372


# ========================
Expand Down
2 changes: 1 addition & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "reti-ui",
"version": "0.8.15",
"version": "0.9.0",
"private": true,
"type": "module",
"engines": {
Expand Down
8 changes: 2 additions & 6 deletions ui/src/components/AddValidatorForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -249,15 +249,11 @@ export function AddValidatorForm({ constraints }: AddValidatorFormProps) {
throw new Error('No active address')
}

if (!rewardToken) {
throw new Error('No reward token entered')
}

toast.loading('Sign transactions to add validator...', { id: toastId })

const rewardPerPayout = convertToBaseUnits(
values.rewardPerPayout,
rewardToken.params.decimals,
Number(values.rewardPerPayout),
rewardToken?.params.decimals || 0,
)

const epochRoundLength = getEpochLengthBlocks(
Expand Down

0 comments on commit 172e3a9

Please sign in to comment.