Skip to content

Conversation

@schimih
Copy link
Contributor

@schimih schimih commented Jan 31, 2023

No description provided.

@schimih schimih self-assigned this Jan 31, 2023
{
"name": "@multiversx/sdk-core",
"version": "12.0.1",
"version": "12.0.1-alpha.1",
Copy link
Contributor

Choose a reason for hiding this comment

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

Normally, 12.0.1-alpha.x < 12.0.1, but in this case we can indeed use -alpha.1, because there's no 12.0.1 published.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👍


describe("test relayed v1 transaction builder", function () {
let alice: TestWallet, bob: TestWallet;
let alice: TestWallet, bob: TestWallet, eve: TestWallet;
Copy link
Contributor

Choose a reason for hiding this comment

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

Usually, eve has a "bad name" (as in eavesdropping) - but here it seems to be the guardian. Perhaps we should find a better name?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

changed it to grace

relayerAddress: IAddress | undefined;
relayerNonce: INonce | undefined;
netConfig: INetworkConfig | undefined;
relayTransactionOptions: TransactionOptions | undefined;
Copy link
Contributor

Choose a reason for hiding this comment

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

Below I see the prefix relayed. Which one should be here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

changed to relayed

receiver: Address.fromBech32("erd1qqqqqqqqqqqqqqqpqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqzllls8a5w6u"),
gasLimit: 60000000,
chainID: networkConfig.ChainID,
data: new TransactionPayload("getContractConfig"),
Copy link
Contributor

Choose a reason for hiding this comment

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

Perhaps use a simple TX instead? Here - the receiver is a contract and the data is the name of a contract query function, is this mandatory for the test?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok, got it

@bogdan-rosianu bogdan-rosianu self-requested a review February 1, 2023 11:43
@schimih schimih merged commit 40570c6 into feat/erdjs-v12 Feb 1, 2023
@schimih schimih deleted the update-relayedV1Builder branch February 1, 2023 12:22
@schimih schimih restored the update-relayedV1Builder branch February 1, 2023 12:39
@andreibancioiu andreibancioiu mentioned this pull request Apr 4, 2023
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.

4 participants