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

Feature/validator client upgrade #675

Merged
merged 15 commits into from
Jul 6, 2021
Merged

Conversation

futurechimp
Copy link
Contributor

Upgrades CosmWasm client js dependencies to v0.25.5, which works with our new validator

this.urls = urls;
this.client = client;
this.mixNodesCache = new MixnodesCache(client, 100);
this.gatewayCache = new GatewaysCache(client, 100);
this.contractAddress = contractAddress;
this.stakeDenom = stakeDenom;
this.prefix = prefix;
this.denom = "u" + prefix;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are we prepending "u" to the prefix?

@@ -531,7 +532,8 @@ export default class ValidatorClient {
const encoded = data.map(req => makeBankMsgSend(req.senderAddress, req.recipientAddress, req.transferAmount));

// the function to calculate fee for a single entry is not exposed...
const table = buildFeeTable(nymGasPrice(this.stakeDenom), {sendMultiple: nymGasLimits.send * data.length}, {sendMultiple: nymGasLimits.send * data.length})
console.log(`this.denom is ${this.denom}`);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this log make sense?

@durch durch merged commit 427893e into develop Jul 6, 2021
@durch durch deleted the feature/validator-client-upgrade branch July 6, 2021 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants