mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 07:28:10 +00:00
python: rename net_usage_words to max_net_usage_words
This commit is contained in:
parent
2060ca569f
commit
94a8dc8e9d
@ -284,7 +284,7 @@ def parse_transaction_json(transaction):
|
||||
)
|
||||
header.ref_block_num = int(transaction["ref_block_num"])
|
||||
header.ref_block_prefix = int(transaction["ref_block_prefix"])
|
||||
header.max_net_usage_words = int(transaction["net_usage_words"])
|
||||
header.max_net_usage_words = int(transaction["max_net_usage_words"])
|
||||
header.max_cpu_usage_ms = int(transaction["max_cpu_usage_ms"])
|
||||
header.delay_sec = int(transaction["delay_sec"])
|
||||
|
||||
|
@ -51,7 +51,7 @@ class TestMsgEosSignTx(TrezorTest):
|
||||
"expiration": "2018-07-14T10:43:28",
|
||||
"ref_block_num": 6439,
|
||||
"ref_block_prefix": 2995713264,
|
||||
"net_usage_words": 0,
|
||||
"max_net_usage_words": 0,
|
||||
"max_cpu_usage_ms": 0,
|
||||
"delay_sec": 0,
|
||||
"context_free_actions": [],
|
||||
@ -94,7 +94,7 @@ class TestMsgEosSignTx(TrezorTest):
|
||||
"expiration": "2018-07-14T10:43:28",
|
||||
"ref_block_num": 6439,
|
||||
"ref_block_prefix": 2995713264,
|
||||
"net_usage_words": 0,
|
||||
"max_net_usage_words": 0,
|
||||
"max_cpu_usage_ms": 0,
|
||||
"delay_sec": 0,
|
||||
"context_free_actions": [],
|
||||
@ -136,7 +136,7 @@ class TestMsgEosSignTx(TrezorTest):
|
||||
"expiration": "2018-07-14T10:43:28",
|
||||
"ref_block_num": 6439,
|
||||
"ref_block_prefix": 2995713264,
|
||||
"net_usage_words": 0,
|
||||
"max_net_usage_words": 0,
|
||||
"max_cpu_usage_ms": 0,
|
||||
"delay_sec": 0,
|
||||
"context_free_actions": [],
|
||||
@ -178,7 +178,7 @@ class TestMsgEosSignTx(TrezorTest):
|
||||
"expiration": "2018-07-14T10:43:28",
|
||||
"ref_block_num": 6439,
|
||||
"ref_block_prefix": 2995713264,
|
||||
"net_usage_words": 0,
|
||||
"max_net_usage_words": 0,
|
||||
"max_cpu_usage_ms": 0,
|
||||
"delay_sec": 0,
|
||||
"context_free_actions": [],
|
||||
@ -216,7 +216,7 @@ class TestMsgEosSignTx(TrezorTest):
|
||||
"expiration": "2018-07-14T10:43:28",
|
||||
"ref_block_num": 6439,
|
||||
"ref_block_prefix": 2995713264,
|
||||
"net_usage_words": 0,
|
||||
"max_net_usage_words": 0,
|
||||
"max_cpu_usage_ms": 0,
|
||||
"delay_sec": 0,
|
||||
"context_free_actions": [],
|
||||
@ -260,7 +260,7 @@ class TestMsgEosSignTx(TrezorTest):
|
||||
"expiration": "2018-07-14T10:43:28",
|
||||
"ref_block_num": 6439,
|
||||
"ref_block_prefix": 2995713264,
|
||||
"net_usage_words": 0,
|
||||
"max_net_usage_words": 0,
|
||||
"max_cpu_usage_ms": 0,
|
||||
"delay_sec": 0,
|
||||
"context_free_actions": [],
|
||||
@ -303,7 +303,7 @@ class TestMsgEosSignTx(TrezorTest):
|
||||
"expiration": "2018-07-14T10:43:28",
|
||||
"ref_block_num": 6439,
|
||||
"ref_block_prefix": 2995713264,
|
||||
"net_usage_words": 0,
|
||||
"max_net_usage_words": 0,
|
||||
"max_cpu_usage_ms": 0,
|
||||
"delay_sec": 0,
|
||||
"context_free_actions": [],
|
||||
@ -341,7 +341,7 @@ class TestMsgEosSignTx(TrezorTest):
|
||||
"expiration": "2018-07-14T10:43:28",
|
||||
"ref_block_num": 6439,
|
||||
"ref_block_prefix": 2995713264,
|
||||
"net_usage_words": 0,
|
||||
"max_net_usage_words": 0,
|
||||
"max_cpu_usage_ms": 0,
|
||||
"delay_sec": 0,
|
||||
"context_free_actions": [],
|
||||
@ -384,7 +384,7 @@ class TestMsgEosSignTx(TrezorTest):
|
||||
"expiration": "2018-07-14T10:43:28",
|
||||
"ref_block_num": 6439,
|
||||
"ref_block_prefix": 2995713264,
|
||||
"net_usage_words": 0,
|
||||
"max_net_usage_words": 0,
|
||||
"max_cpu_usage_ms": 0,
|
||||
"delay_sec": 0,
|
||||
"context_free_actions": [],
|
||||
@ -426,7 +426,7 @@ class TestMsgEosSignTx(TrezorTest):
|
||||
"expiration": "2018-07-14T10:43:28",
|
||||
"ref_block_num": 6439,
|
||||
"ref_block_prefix": 2995713264,
|
||||
"net_usage_words": 0,
|
||||
"max_net_usage_words": 0,
|
||||
"max_cpu_usage_ms": 0,
|
||||
"delay_sec": 0,
|
||||
"context_free_actions": [],
|
||||
@ -491,7 +491,7 @@ class TestMsgEosSignTx(TrezorTest):
|
||||
"expiration": "2018-07-14T10:43:28",
|
||||
"ref_block_num": 6439,
|
||||
"ref_block_prefix": 2995713264,
|
||||
"net_usage_words": 0,
|
||||
"max_net_usage_words": 0,
|
||||
"max_cpu_usage_ms": 0,
|
||||
"delay_sec": 0,
|
||||
"context_free_actions": [],
|
||||
@ -529,7 +529,7 @@ class TestMsgEosSignTx(TrezorTest):
|
||||
"expiration": "2018-07-14T10:43:28",
|
||||
"ref_block_num": 6439,
|
||||
"ref_block_prefix": 2995713264,
|
||||
"net_usage_words": 0,
|
||||
"max_net_usage_words": 0,
|
||||
"max_cpu_usage_ms": 0,
|
||||
"delay_sec": 0,
|
||||
"context_free_actions": [],
|
||||
@ -601,7 +601,7 @@ class TestMsgEosSignTx(TrezorTest):
|
||||
"expiration": "2018-07-14T10:43:28",
|
||||
"ref_block_num": 6439,
|
||||
"ref_block_prefix": 2995713264,
|
||||
"net_usage_words": 0,
|
||||
"max_net_usage_words": 0,
|
||||
"max_cpu_usage_ms": 0,
|
||||
"delay_sec": 0,
|
||||
"context_free_actions": [],
|
||||
@ -639,7 +639,7 @@ class TestMsgEosSignTx(TrezorTest):
|
||||
"expiration": "2018-07-14T10:43:28",
|
||||
"ref_block_num": 6439,
|
||||
"ref_block_prefix": 2995713264,
|
||||
"net_usage_words": 0,
|
||||
"max_net_usage_words": 0,
|
||||
"max_cpu_usage_ms": 0,
|
||||
"delay_sec": 0,
|
||||
"context_free_actions": [],
|
||||
@ -677,7 +677,7 @@ class TestMsgEosSignTx(TrezorTest):
|
||||
"expiration": "2018-07-14T10:43:28",
|
||||
"ref_block_num": 6439,
|
||||
"ref_block_prefix": 2995713264,
|
||||
"net_usage_words": 0,
|
||||
"max_net_usage_words": 0,
|
||||
"max_cpu_usage_ms": 0,
|
||||
"delay_sec": 0,
|
||||
"context_free_actions": [],
|
||||
@ -797,7 +797,7 @@ class TestMsgEosSignTx(TrezorTest):
|
||||
"expiration": "2018-06-19T13:29:53",
|
||||
"ref_block_num": 30587,
|
||||
"ref_block_prefix": 338239089,
|
||||
"net_usage_words": 0,
|
||||
"max_net_usage_words": 0,
|
||||
"max_cpu_usage_ms": 0,
|
||||
"delay_sec": 0,
|
||||
"context_free_actions": [],
|
||||
|
Loading…
Reference in New Issue
Block a user