-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #373 from near/test-message-content
Rainbow bridge / Twilio message size limit & message content fixes
- Loading branch information
Showing
8 changed files
with
239 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
test/messages/acceptanceTestOutputs/confirmTransactions2fa/confirmTransactions2fa-sms.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
Text content for SMS and rich text incapable email clients: | ||
----------------------------------- | ||
|
||
NEAR Wallet security code: 123456 | ||
|
||
Important: By entering this code, you are authorizing the following transactions: | ||
Calling method: DoAThingWithShortJSONArgs in contract: testreceiveraccount with amount 100,000Ⓝ and with args {"amount":"1,000Ⓝ","deposit":"100,000Ⓝ","someArg":"shortArg"} | ||
Calling method: DoAThingWithLongJSONArgs in contract: testreceiveraccount with amount 18,000,000Ⓝ and with args {"amount":"110,000Ⓝ","deposit":"103,000Ⓝ","someArg":"longestArgsAreTheBestArgs","someArg2":"longestArgsAreTheBestArgs","someArg3":"longestArgsAreTheBestArgs","someArg4":"longestArgsAreTheBestArgs","someArg5":"longestArgsAreTheBestArgs","someArg6":... | ||
Transferring 10.5Ⓝ to: testreceiveraccount | ||
Staking: 1.5Ⓝ to validator: testreceiveraccount | ||
Deleting key fakePublicKeyIsTheBestPublicKey | ||
Adding key fakePublicKeyIsTheBestPublicKey limited to call doSomething, doAnotherThing methods on an-account-id and spend up to 0Ⓝ on gas | ||
Adding key fakePublicKeyIsTheBestPublicKey limited to call any method on an-account-id and spend up to 0Ⓝ on gas | ||
|
||
----------------------------------- | ||
|
||
Subject (included in email only): | ||
----------------------------------- | ||
Confirm Transaction from: exampleaccount3456 to: testreceiveraccount | ||
----------------------------------- | ||
|
||
Request Details (included in email only): | ||
----------------------------------- | ||
Calling method: DoAThingWithShortJSONArgs in contract: testreceiveraccount with amount 100,000Ⓝ and with args {"amount":"1,000Ⓝ","deposit":"100,000Ⓝ","someArg":"shortArg"} | ||
Calling method: DoAThingWithLongJSONArgs in contract: testreceiveraccount with amount 18,000,000Ⓝ and with args {"amount":"110,000Ⓝ","deposit":"103,000Ⓝ","someArg":"longestArgsAreTheBestArgs","someArg2":"longestArgsAreTheBestArgs","someArg3":"longestArgsAreTheBestArgs","someArg4":"longestArgsAreTheBestArgs","someArg5":"longestArgsAreTheBestArgs","someArg6":... | ||
Transferring 10.5Ⓝ to: testreceiveraccount | ||
Staking: 1.5Ⓝ to validator: testreceiveraccount | ||
Deleting key fakePublicKeyIsTheBestPublicKey | ||
Adding key fakePublicKeyIsTheBestPublicKey limited to call doSomething, doAnotherThing methods on an-account-id and spend up to 0Ⓝ on gas | ||
Adding key fakePublicKeyIsTheBestPublicKey limited to call any method on an-account-id and spend up to 0Ⓝ on gas | ||
----------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.