From 95dc88603cc07266a7c1fa5b745933e3a6a9a58a Mon Sep 17 00:00:00 2001 From: Hannes Karppila Date: Wed, 13 Dec 2023 18:14:48 +0200 Subject: [PATCH] Fix the example tx in README.md --- README.md | 67 ++----------------------------------------------------- 1 file changed, 2 insertions(+), 65 deletions(-) diff --git a/README.md b/README.md index fac9aaac060..73a7cb73c5d 100644 --- a/README.md +++ b/README.md @@ -188,7 +188,7 @@ RET(RegId::ONE), ```console $ cargo run --bin fuel-core-client -- transaction submit \ -"{\"Script\":{\"gas_price\":0,\"gas_limit\":1000000,\"maturity\":0,\"script\":[80,64,0,202,80,68,0,186,51,65,16,0,36,4,0,0],\"script_data\":[],\"inputs\":[ +"{\"Script\":{\"script_gas_limit\":1000000,\"policies\":{\"bits\":\"GasPrice\",\"values\":[0,0,0,0]},\"maturity\":0,\"script\":[80,64,0,202,80,68,0,186,51,65,16,0,36,4,0,0],\"script_data\":[],\"inputs\":[ { \"CoinSigned\": { \"utxo_id\": { @@ -210,70 +210,7 @@ $ cargo run --bin fuel-core-client -- transaction submit \ } }],\"outputs\":[],\"witnesses\":[{ \"data\": [ - 150, - 31, - 98, - 51, - 6, - 239, - 255, - 243, - 45, - 35, - 182, - 26, - 129, - 152, - 46, - 95, - 45, - 211, - 114, - 58, - 51, - 64, - 129, - 194, - 97, - 14, - 181, - 70, - 190, - 37, - 106, - 223, - 170, - 174, - 221, - 230, - 87, - 239, - 67, - 224, - 100, - 137, - 25, - 249, - 193, - 14, - 184, - 195, - 15, - 85, - 156, - 82, - 91, - 78, - 91, - 80, - 126, - 168, - 215, - 170, - 139, - 48, - 19, - 5 + 150,31,98,51,6,239,255,243,45,35,182,26,129,152,46,95,45,211,114,58,51,64,129,194,97,14,181,70,190,37,106,223,170,174,221,230,87,239,67,224,100,137,25,249,193,14,184,195,15,85,156,82,91,78,91,80,126,168,215,170,139,48,19,5 ] }],\"receipts_root\":\"0x6114142d12e0f58cfb8c72c270cd0535944fb1ba763dce83c17e882c482224a2\"}}" ```