Skip to content

Commit 783d1ae

Browse files
committed
tests: up
1 parent e930723 commit 783d1ae

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

src/core/_test/TransactionEnvelopeEip2930.test.ts

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -559,22 +559,24 @@ describe('toRpc', () => {
559559

560560
expect({ ...tx, blockHash: null }).toMatchInlineSnapshot(`
561561
{
562+
"accessList": [],
562563
"blockHash": null,
563564
"blockNumber": "0x12f2975",
564565
"chainId": "0x1",
565566
"from": "0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266",
566567
"gas": "0x5208",
567568
"gasPrice": "0x2540be400",
568-
"hash": "0x431d828c5cfb696bd4d80214e89bcaa36f6ed8e8c13e9e3bcc485a9966759a54",
569+
"hash": "0x3abd5f1feb4598f71e8bce577a48b76a194e483d043888bfeaf59c4a603c926b",
569570
"input": "0x",
570571
"nonce": "0x297",
571-
"r": "0x221b7f859c35a3f54defb3c29ad2f456a08f4acd3cbddda988a49d8803457655",
572-
"s": "0x243e08c40d4f672d37712b579481bf4324464a72a5fcba033aebf474fb65382b",
572+
"r": "0x65eb2e814e2d0bc71107740c694706e44264850a68421d1b02cd7342f41aee75",
573+
"s": "0x7c29b61014e58a6a2464ac5c48ec8c4135e4d95262355b634f57ff934caa52a",
573574
"to": "0x70997970c51812dc3a010c7d01b50e0d17dc79c8",
574575
"transactionIndex": "0x0",
575-
"type": "0x0",
576-
"v": "0x26",
576+
"type": "0x1",
577+
"v": "0x1",
577578
"value": "0xde0b6b3a7640000",
579+
"yParity": "0x1",
578580
}
579581
`)
580582
})

src/tempo/KeyAuthorization.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1013,7 +1013,7 @@ describe('toRpc', () => {
10131013
},
10141014
],
10151015
"signature": {
1016-
"prehash": true,
1016+
"preHash": true,
10171017
"pubKeyX": "0xad8ac16e167d6992c3e120d7f17d2376bc1cbcf30c46ba6dd00ce07303e742f5",
10181018
"pubKeyY": "0x11edf6ce1c32de66846f56afa7be1cbd729bc35750b6d0cdcf3ec9d75461aba0",
10191019
"r": "0xccbb3485d4726235f13cb15ef394fb7158179fb7b1925eccec0147671090c52e",

src/tempo/e2e.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -943,7 +943,7 @@ describe('behavior: keyAuthorization', () => {
943943
"blobGasUsed": undefined,
944944
"contractAddress": null,
945945
"effectiveGasPrice": 20000000000n,
946-
"gasUsed": 23600n,
946+
"gasUsed": 56600n,
947947
"status": "success",
948948
"to": "0x0000000000000000000000000000000000000000",
949949
"type": "0x76",
@@ -1154,7 +1154,7 @@ describe('behavior: keyAuthorization', () => {
11541154
"blobGasUsed": undefined,
11551155
"contractAddress": null,
11561156
"effectiveGasPrice": 20000000000n,
1157-
"gasUsed": 28600n,
1157+
"gasUsed": 61600n,
11581158
"status": "success",
11591159
"to": "0x0000000000000000000000000000000000000000",
11601160
"type": "0x76",

0 commit comments

Comments
 (0)