From a04e4f9e142f0d408f8dfd4f4aa2d47a821e7739 Mon Sep 17 00:00:00 2001 From: Morgan Mccauley Date: Mon, 11 Dec 2023 20:40:39 +1300 Subject: [PATCH] test: Fix outcome reducer tests --- block-streamer/data/000093085141/block.json | 1 + block-streamer/data/000093085141/shard_0.json | 1 + block-streamer/data/000093085141/shard_1.json | 1 + block-streamer/data/000093085141/shard_2.json | 1 + block-streamer/data/000093085141/shard_3.json | 1 + block-streamer/src/rules/outcomes_reducer.rs | 23 ++------ block-streamer/src/test_utils.rs | 56 +++++++++++++++++-- 7 files changed, 62 insertions(+), 22 deletions(-) create mode 100644 block-streamer/data/000093085141/block.json create mode 100644 block-streamer/data/000093085141/shard_0.json create mode 100644 block-streamer/data/000093085141/shard_1.json create mode 100644 block-streamer/data/000093085141/shard_2.json create mode 100644 block-streamer/data/000093085141/shard_3.json diff --git a/block-streamer/data/000093085141/block.json b/block-streamer/data/000093085141/block.json new file mode 100644 index 000000000..fecc2f372 --- /dev/null +++ b/block-streamer/data/000093085141/block.json @@ -0,0 +1 @@ +{"author":"dqw9k3e4422cxt92masmy.poolv1.near","chunks":[{"balance_burnt":"903157226440000000000","chunk_hash":"5bPAyMhwELc3KR4aKSc3cNBLGm32HFEqRUYXri43ipbH","encoded_length":2773,"encoded_merkle_root":"7yg9tcw7eA4o9V7NUy1gzdQ1bW4poTtMcjhX2df2T41W","gas_limit":1000000000000000,"gas_used":21556415326900,"height_created":93085141,"height_included":93085141,"outcome_root":"2WgvyuAvefXHw2Bu5tHBYqaNRnzEdkBV1kbX9rZhqHdR","outgoing_receipts_root":"FmmxRvexn9MaM6kaywm5TJ4bAXma9LC8GvX3BYMSbBPj","prev_block_hash":"2cHmVxWxsdwowimB5bX3kR9qXa3F8c1t7gbTrMV7hn69","prev_state_root":"EgehqBxv1rs2143KmLDrbmyhZwHcHgZZwj5kjc48CLAn","rent_paid":"0","shard_id":0,"signature":"ed25519:5TQhvjHdmG4YMATrHYM4K96VRF6FRuu1LcrBG3WMFLEkHXo7gG2D3RGN2hnGMNVLosQqVGw91uMKfHvkNhe857Lq","tx_root":"5K8i8seBPYEKSXwsG9NugZmKhFmv7zgFbUAwqX7TNEfR","validator_proposals":[],"validator_reward":"0"},{"balance_burnt":"336955792883000000000","chunk_hash":"4K9Zj1ZanDm9Cu3G4JnRWsCTPjhT7iMsb2m1ACNexvPZ","encoded_length":161,"encoded_merkle_root":"ExpvgdXmijmisL9VWUSZd6cH2XZ8KjMfvRq2TFXwWaJ","gas_limit":1000000000000000,"gas_used":3772355756216,"height_created":93085141,"height_included":93085141,"outcome_root":"35sKVEqAvGiAddvByfoFNyJz7DF5AYWaPnLPGqqvwi3s","outgoing_receipts_root":"DaAh9aGfy8hrRkSPa8VajKr4JG6eivSGognFYQXuezTG","prev_block_hash":"2cHmVxWxsdwowimB5bX3kR9qXa3F8c1t7gbTrMV7hn69","prev_state_root":"9D5KaP2ZukXZR5SKAXgU9cuq5niDuvpjrbCXofAzy4ow","rent_paid":"0","shard_id":1,"signature":"ed25519:3thVBMZWNUgwdLsNtm2hfHF2MrHhovjN9aQQJAi7uNicKw8eUyLjbcpwVMorQ6uT9JbK1GJbto9m1XWF5XNr96LW","tx_root":"11111111111111111111111111111111","validator_proposals":[],"validator_reward":"0"},{"balance_burnt":"660301625914400000000","chunk_hash":"GWGFPyAvWLnHw4eo8XEUNz3EFpfogE4acJ13h8jorTT1","encoded_length":701,"encoded_merkle_root":"AVWEeygQLxnYMGREJmAQE4BDQwsg1FCJJ2dK2kWNh47W","gas_limit":1000000000000000,"gas_used":7049381384144,"height_created":93085141,"height_included":93085141,"outcome_root":"CxxEgz23MJKojjGWXe3muBjD6yiLCSo7NyGgfpu64aug","outgoing_receipts_root":"H96o6Z112kp4FgNm5rbpGxNCc53x4bbmcPce6NpaFMoK","prev_block_hash":"2cHmVxWxsdwowimB5bX3kR9qXa3F8c1t7gbTrMV7hn69","prev_state_root":"5TztQJP7d3436iXmFpG5PSYAtNhz9mNYu7XJ8UyxDpQe","rent_paid":"0","shard_id":2,"signature":"ed25519:3eNQL7PXH96tb2LkkYdNrHJ8nB7PpGjCc98gsURvMMMifsWcjL48AM9AB1QWZFCFd61oiyGViKKKB8HSYom4z7jP","tx_root":"AWG7nTuyxSdtk5sEwGuB1mUmACnkAvGMn5zw8mbgXAFP","validator_proposals":[],"validator_reward":"0"},{"balance_burnt":"2290298267551700000000","chunk_hash":"6s29toMBxow7sNNf2huCzs9Jx77cuD4Ei6Q53FsJRV8e","encoded_length":2884,"encoded_merkle_root":"6e2PjAbKLmK3ZHMDuU6AGqbF7LuKXQrx8Ha9X5jtQT2m","gas_limit":1000000000000000,"gas_used":25705493164532,"height_created":93085141,"height_included":93085141,"outcome_root":"D14cNKyYmNfNrHkXAgdQREjf9sUdgBbretD8bTzzibup","outgoing_receipts_root":"DpPAKmARwUGBfYLDbXWPTL53auH3ingsvsFsj2MCwbe6","prev_block_hash":"2cHmVxWxsdwowimB5bX3kR9qXa3F8c1t7gbTrMV7hn69","prev_state_root":"98HzgR4qeCoV9R8KXw3i27HdQreH5o4j5VWmocxHh19A","rent_paid":"0","shard_id":3,"signature":"ed25519:2wvGjamXwpn3euAyv8Xr951ZJVzGeMJiMQ8cGTa6HwW986kfPe5YCFhMytaNLe74MxgpezX8Fy3ptRbaBiPZCPAk","tx_root":"4iRESwugTeYZzUeYs6VxbUQHvnX2UnBrY7yXRpB6fUyG","validator_proposals":[],"validator_reward":"0"}],"header":{"approvals":[null,"ed25519:4HYCJoWocKxNbKSSidjAz5BjoXMMKEBxbNGq8UUBVgaoXmNCEH3d9N7esrNAC8gBDCasBbanQewSqS7HtZrxvsKT",null,"ed25519:5niT2KXArCjASKSXmDExZFbiNM2romNs1xK7GV55sF6hmzZKiLwMxqSq9E25aAzAEHe2wbUJwmiX1MspqR4UUSb4","ed25519:2nD3Kt7fitrK1reyfmMxcszHhmWiqEsBv6cA4ngvcxXS85C2D4vNav7zu9XmwTW4UMgddnbdpHrWdFB5pTW3J6nu","ed25519:2o4Zudk89Ej4JViZ2UvD1hWBvwy2jKhXti7JiK1r5MAAd3JyeZeeRFqZMwtvuuzwnGaJ9pxtZj3aKv4iqii3h23p",null,"ed25519:5kzTHdjtvyDAoAMPZhNYCzaHHRK9H5bMKYqxc5iVn1AhEWgafVjUaUUQZnYd8QiQdTj26JyeMGyVTuEHr1er1GFM","ed25519:3CgQcnTbSTnvrcHQzgHiffbEwMc8zkyijdWutvsZ8edCoWxofuuBfmcjbNGQ7caHgtNzk72WnXtDHRRj7GVaRZoC","ed25519:3p9wJWFTWnuYWbHxWjt26j7jdfRY8rdzyvtQZpGhU9UphqvU7jGXdzCx2kdvG9QmCxK8DTpBCiGVL7FWBQRJv6dD","ed25519:2hwsh9PAQhVy9FFudJi4VDjKPvsgpo2AUG7gvidXGdUXiCTteBfFvvY6WQQmd5MBL7CdffSX3dfCLzB7meMGebHo",null,"ed25519:HdDKYdDoaULziJdCXkBdS1zKG7RjbB9GQw32TLptMAhKr8KGe5vz364qSAqBoWS8bqiQYhLRpi9AeKX3rLdj9qK","ed25519:4uZc3sx2QZqQEVATHpY3WJXA4nwe1JFQBUMMhSfsGS3C5YFddY466CUFF7wRGyguLP9AfW13GcJLJwWxAfmWSFuM","ed25519:4RELctCZPjp8YrzNd2gtjCe9YzxdZP3c317NNEVNo1drgfWQgXLC26mRRf6bfyC4BfGcGPm6jGiTeNrvGkmY44RA",null,"ed25519:2CjAxrVZUwESUTGeWhkVe7suhKHrSgfMfAyjrPCsoUa7HzXnS9yLj52E9qkti9CqSe4pR182EXrSssoNDPEKqcXH","ed25519:3tb7X5aY553bsgU8KmVfHwD1fCYQjZgckdCbZTraiU2M6i4a1PZ6ex8XgmUeYMMiSZ4VzAWtXEnBVfHsDcAJmKrV","ed25519:2DGQcpQXF6EDMSxHctRGg3fxTMn6GFsYoanQZ7fvYoonVwNCRWaxkT2FZtHjdKqz81CcvzTo333FZ2MSdrMc1c69",null,"ed25519:52wHrbjDLSvLePRW7rHqCqtVy7bwzFmw1cQnLHsfbG3Bq6qHip12kJuPRNbRwSp6Pka1LiRsa3D2ByrpMEdRb8Lm",null,null,null,"ed25519:4eP3aHeHB62u6ioj9kfwhucKzCi4P4nWJPbn4yW5LoLWgE3ZKcCeWxCy9VqTCLvA3MmFiXcCRkMvwURRRev2L7Hn","ed25519:4NCmDQRrUFG79fyfWpHLZoU18C1kRvfNQoK3KWZNP3vM2t9UhmtsDuJQigAdWpbaruCg1vnTF4mSe12RFG1Yx4nT","ed25519:epjv5H1JHBYW9w2Um9ugMqxoWk19pKPwxXbxx22FiFRRQta7UZ64V4cJTpZN8LSQLBmohtkXgGpFoM8Ee8Cnd1a","ed25519:3wQ2U8wy5qjAbnQDtLS4GtmZF67rasS7jdVxtic3BaLyLsHqBgrtTWN94nHA7ZeW8itBvbCwUXJaJ6hpPcc6hJik","ed25519:4Jos8kYf3qaL2cR5HzxVSc7fz6jZC5M9gnShu9ZtdyPdbwk5pkZ14UFDzKn7TowjU8CG7oLMWsmCw7B6qMW4kvoU","ed25519:v4oJR9cDvJBAYrsf3y91Y8wS2PB7ypNKiZDV4VP7oYnnnMxoeHegR64pK5omWP7cum8oBEuLAqhSt9n5rF2p55g","ed25519:4TD6vC4zxpvpQHuUAhaU599y3xdq1knhETZ1yCP6SExV2nedGYdppm6iSLmvgWYkWCpAT1osCARGCmjgMvLqsFPk","ed25519:28YWj6WsGhDvdhQuBmcHJNUtKUcZa1oTEG3F4wA5wmPstBTMQDSsHHXAzn6NmqDe7YCn9KQyyF9VjbV31uYCXJSx","ed25519:3WoLkAA7VYJZHeCXx92it9DkpaUgYTR2Li7ZT28cQJMDh6tFn61rEnLsrxhEvJP1MXf3mwkffvnJW2i3VL3uVQAc","ed25519:2bLDSM6E9PJRwEuFEdwKqgvES5WVrfvEqyMcBzZoRdAbzwVkvaWmVHoaSyhngmzg6r88JnhW5wbTrtNkoM4PdLBx",null,"ed25519:3mykmLd69RSNku9J7FJXop6DGN11qdgcScjH7FLXfhd62JQsJWn1UXw4evRy8UVsed6H7itHinitBuDaaCHtCZ6y","ed25519:5nG686LojijSXksbkJeosCZSW9owMpfJJCuG9715W2QTwtR6UKvUDT1hVc7pgc8jvUTCbV5DzdMmN6QCVCKjEMoX","ed25519:5uScg7KriN8mqFpqg3ASZnw7B9NoLpy58RFvJYckxniJmRcKRmuirRke5cxWipS8XdESLnpVcCtwvgytx5dQyNpy","ed25519:64oobKzAVxoR7M79k7DGj69ph46BtneQmC4TNr7Qfs3uZQvbSmKsuqXmYWT4a924ZsSsaifrHovPfS9vRMWc6TZG",null,"ed25519:4wD4ADV8DY757ZzGUgAfuyLWuodjVE3NgkB8nK9iA4Lbj8DTgRvY9k3jiFh57BtdPxTk3kanMHmQQHtfPtcWkCiA",null,"ed25519:5HPakWjG2nmHUHyqVX7J5fLAFh6XDR6EbzrvwhUt8WvGFkr8APL6Y2yb6cciSXedHrX5h53RhLtamPkwKGSgEVFG",null,"ed25519:4GrbvuhubRwCrKeeRQtiZpKyCNEMZ3GsABN4QDqRxxotgRzwfA9Re74YtXHaGuE7A7KSNxiC3b7CHpC41AVCsTzr","ed25519:2nV6CWrs1PZX7RHGN8Tkna4yT9DNteQTMK1k7ZDyHfVLdLhV2GUFTFXug1vgX9VvaB7yFHHLFgJiQiHGuzWuiRxg","ed25519:2mHdkmvy5UeHSdLpMqGCkcmm7BktSciz9q5wv2EbMhuik9Bj58GXpbcYXqWrQpxT9wN1nedkkiZ8QDZ4C18nhjmt","ed25519:2DjQgKM8scshWmATPUj9ahpAqH9WfUmrjGcKaGvGsKTt3XAr88j4Yt4PjyYJDqEvsKqNLMbcgqjAnga2EpBTC6Bq","ed25519:2JYqxYHGLNBNm92mSPz5vbyYLry34W4WYmtwwNcDvh41SCp2zqQqbxtVjJdSRN1ZrHin1XxgSZXiy7baS74SXsbg","ed25519:3NLGtTxWmpeukuMAzXj77MCkFeE2RdVdSJttuE9hXV5qojF172Hf9agEyMHdjareobQjsSReQ3wfrWLxYLN22Rqw","ed25519:4yEtJkQh4efoYRWwHGyFKVyG4rN7VTJ836W7vGeYHKejpmb2R5ijXqGZhtaCDskkz61m5AYSN4QByyoe9RGa4iZN","ed25519:5KiXwmjLFhNZMgkWpekbqxUTZDF2PYH6RcQXPGSd6CLD1qEhPUZxZr87k6E8oYSuVvWYUaAiPUSffUP5PPryEqxg","ed25519:1offZT4dyKqUeKFz1efk49JyXaKr5SYkpnDNLoXMafZGHjYu9DvkeKbBVD3fgic2WduM5Miw6Vsn8qP84iy64GK","ed25519:G5VnYeDn7LWhtDFe6xLAwV1wAsA4RiBXC23JbZSo3vPYGuntSpJCDousVAmyMwnv71FEJd7sSFgBwVdJNwBMAVd","ed25519:K8iDGo8Vv3pBRiUP6FyQ5srui2uWu46gveAbA6eV53wNq467r7LQTPkCVMXDGNy7MuFQ4sY9edKSH2ZPp5p2f2b",null,"ed25519:28JuVaig2Q1awtbtC1n5uUcFCQw5kuRKrrMYVXYDj5FcW7XuLESTK9Y2CRbvEYDBKTqS3CiGDu1qNkkCbcAmL7PW","ed25519:4mJzYDG62W9tY4YRtudHoK3d3VGihs2eiKBsNpf8RjvcaRLbwBkUugPNYKHUxB5pWktvPbwZMuKTLRmj2WQvFYAA",null,null,"ed25519:5qAEqG4W4Ta54PT8dqaVSkwwjuLn7zLqwPAagNqE65Ki9HQhKA4xgqCypwCed138mpQArKC16BnqgJ3hGe7kZkuB",null,null,"ed25519:vfE4gTvTUvFXzDAu2u9GwE69YvsvAN3bqquMD9rbxHHbhGuaYDh97dnnG6osyh4znGz3UKbNPDe76EE63caTeDU",null,"ed25519:4Q28eMmN4avey4PgPNRLDEj68jYFkcKSyuaVy7E31tXGHGFowkKj3oCo3Vrje96wTaTTTjfhUdvR73omKqswPWbk",null,null,"ed25519:JuX5CxZkEGQCCZMjM6YhDHp5kPdbfPKb7CiHCrw2nt531a79xcdRm5U3NUPPJ7V3q63BMck7CyTxjRik9UrD42E","ed25519:R21mUu3fs976BUBiY4F2TQUoNmrd9QrUVBycVenpRfYVPqyjxY4ZSQrdYjN7HqBPp7jNdQGcTb4FRSpbjgEM3TJ","ed25519:3H2YzGRbjDP75Q4qdKTVUEkkCMuoUK6RXjZs9ZGTuvcfRYRBtYTFRsBLdUEdX7HbiaCxa31Wfc3e4DKpgdhD4nXk",null,"ed25519:5PviJZ2sCnbdp94FDFUxzVzxg4o3iVitb7NX2QxuYGe4ozWNLWzpPZAZhGT4WwgQjuxwcxt9weCjCbii8BqthnnR","ed25519:3B1Ci4h9urWnzhStfVRY8HNFhKNuHnb4LCQJaDSS11SxJUvAZAgu9M1XW6M1vMMS7rCjQWdEgjJspgSdsMbRWoi4","ed25519:D4T7Ms6xqU7hj9SSMnWtpBkMKuFpeRuEY4qYDiz2uhD3jfT2kw4e7LgS89jByG9D5GEvwKxTtGySMRCJu5uXE2H","ed25519:UYa6UfUg62DAn24BhEtGTYo1X9MsHqxHvkjsEvWN9GrfQvMzxobNMRibFGdiPbsSmJiKzjRh7yZWk9zQaG8kpYR",null,null,null,"ed25519:2qUp5cpkTC5EfYnny7Q31M4jyYkGQuqcKiakemL5BPHdiBoduz1W8nMhMKDYuE83nQg4edTaGHHC31npLbN24e6G","ed25519:3d54DjetvbXWJumWBDv2CKRgSf3xNf3VEn9jTzs28qNXe1E6o9rZEZG9T1W4n2GVbyxLqDmnTHcyYNJedvgpkoZC","ed25519:5BZTh4sLwcafATBZhm67AnpLWNQSMG9RD4JhLtp3kmt9DWjda79yb4CKuGp78j26EwsAZ2gbMWnf9q1taEB76QtQ","ed25519:37epXQ6CV3tLbwJZs9vqhtGw99bP3EzQBZAgyBLH6GNyuikSHrUUt3uNaJkJ9M2QPyApFH5JUA2ZNCQD1kKA5Mgt","ed25519:4vk3W5AoyvkPoHAw13HjYrD2GCCUietBQ6mPD2BFCt849LmqZrLxeUZzu3tuB2kf76kyJcCiGSxstC4hk4JEEDCe","ed25519:c7rLHEWBMdkbEfftbF7yXZfFK4ZWBYAEhEEnfDh22tbJBcQrbihUt1RUgVX4FzwLkaKuw2CyRURjoUmTZtXeoEU",null,"ed25519:2QLeh4wih2PupVoLmaBttiY2xyHdGzNwfc2qHaaUZPbFZDnNrXjSXuLPZpjtiFAvTSoUx9J7TgGCwLz925UUxaD6","ed25519:PoaZWKXqjtsKqz8XsS6RhHuZovAEFiBzYvu1NomCCpKzgPxvsBswTSDEDY67NoVfuWHnEZVbU72ZzxLDBkjinwC","ed25519:57CrwA7b1cWiVEdL3mBM1LhNJk6QeLkXPczEHoKNe6srGUQMbVbELtEnaVFfwkEwbYYWWepEUYnxqE3TN7bYRLsX","ed25519:37LMxibT39TYPd7kRE4MBtghQUiFd4EeodGTisTwJ27LWy9ErydUMt6BjrdJ3yWxpNBG9rksu3CaswqCixrvQuJH","ed25519:274RCejDGzCoYWfqRMyejr97cwWGq89dwRwpkwUM3voQZXTxo5UPFmSJYk2zBMcZiooknJNtzD9VzgTSTzJNXEBA","ed25519:4BmhUT5Ma1M3MUwoRJYDQe1vcoEySK95n2j2xB87vvrsGdGGEUDC7o8Yg6dMWib4MHs2iw4XeqE5wAZu1KEQ3dxe","ed25519:3ev6y5gRZguRbtu4hrsHXn6BTnq6bjpDnFHCdhVaKmmoyrog2qHzgmbAcvpz3EoakPsVwzjmUKJp82CHHehFGTSz","ed25519:3ZDQUSu2W5vVsmCJyRS36q5vCHz4xMrHR8965Y7XVrpDW6S4sixHNgmwdAjFfoV9UuShLFp1q2MoR2dYe1tV242K","ed25519:64TcaMasB83QH3c8vmEu23rmHvH31fuFkHicoDZjShSkDVVsNHTAMtTZUNFViXK8UCmVk9V7f4VueGEpMBhaebuV","ed25519:498ZydHjUzcCsdQuqatJEQRkpvdeYeUEwJEk4MifyDUWbw28Y9TVnQvWkMxssrd61FmLPDqn8wYD3HV2oVCx6Dhh",null,null,"ed25519:5Kyn7MU1WKDy6FDQ91FTrq7m2JqemyK5oPKtPa2Dd8BMxLuCnJaCyk5Vfwzdm75fwEugExdskbF6Z1jAQuAeBErY","ed25519:5YpndkuRx7n4dRDZu5MMWNKjpP2q158hUbpHbgsX99wzQRrGeuFx1P8VRWZ8icHFPh9rS5xmgm1zN8TwBTfycFXJ"],"block_merkle_root":"4y4aamanudLmTowpLk9GWRhhPNmjkEXm86ijVo5pkNZo","block_ordinal":83036472,"challenges_result":[],"challenges_root":"11111111111111111111111111111111","chunk_headers_root":"5vABXV8RAo6GknauuQxngj1kn4PyMQH2rCTnKGYusscb","chunk_mask":[true,true,true,true],"chunk_receipts_root":"BcAYb4EV7BvmoMQdwXkx3UmDJReDiNjFUN3RAZWxBhDf","chunk_tx_root":"EZJB3GfAGiaUeW5mNwj5tMUfdvbZjQYMJxkwRwfEGCAo","chunks_included":4,"epoch_id":"EPL23Ar1bvVjULauPNbD8MjB9eDtoN6Ji7kmvpQVhCpE","epoch_sync_data_hash":null,"gas_price":"100000000","hash":"9EGASj6bhqjHhCGaRG6u2BkywEBrLzTZSaoh6ECPH2Jo","height":93085141,"last_ds_final_block":"2cHmVxWxsdwowimB5bX3kR9qXa3F8c1t7gbTrMV7hn69","last_final_block":"5b9HLmwXNP78ozBeeM443Aq6Tzc8XcoQ23TBwieacmed","latest_protocol_version":60,"next_bp_hash":"nGcCQiF1mAwFWjbxqYFA7WsQyYDvLsUtTxhVkjySih8","next_epoch_id":"D6cyJc97ZjLR8NJ3h2Aj8KpRCVR3sAxVMRVrcS26JZN7","outcome_root":"AtgazpA7KNxya1PJyiBCESFyU1qt2kmnoHXf9zcvTEXo","prev_hash":"2cHmVxWxsdwowimB5bX3kR9qXa3F8c1t7gbTrMV7hn69","prev_height":93085140,"prev_state_root":"HQKa9fiPa8HQHqT4a6huAEAFtACqp8kqUnbrxLUVaJ4h","random_value":"2e7HunUhxTe38JxkHnPqnJGGGiJnTG6JTvDqpKvRBsHT","rent_paid":"0","signature":"ed25519:5qEf65mY3grFyZ7NjkwtHkR4pYS5TTCHjc4Aw13gPjEXW2feDx6Y7N7iQ5Wa2FDrSQ4G6Tn2tDuNmERQbsp7Kbvf","timestamp":1685481810212962455,"timestamp_nanosec":"1685481810212962455","total_supply":"1137052953841874351313709602668185","validator_proposals":[],"validator_reward":"0"}} \ No newline at end of file diff --git a/block-streamer/data/000093085141/shard_0.json b/block-streamer/data/000093085141/shard_0.json new file mode 100644 index 000000000..6b4a03787 --- /dev/null +++ b/block-streamer/data/000093085141/shard_0.json @@ -0,0 +1 @@ +{"chunk":{"author":"legends.poolv1.near","header":{"balance_burnt":"903157226440000000000","chunk_hash":"5bPAyMhwELc3KR4aKSc3cNBLGm32HFEqRUYXri43ipbH","encoded_length":2773,"encoded_merkle_root":"7yg9tcw7eA4o9V7NUy1gzdQ1bW4poTtMcjhX2df2T41W","gas_limit":1000000000000000,"gas_used":21556415326900,"height_created":93085141,"height_included":93085141,"outcome_root":"2WgvyuAvefXHw2Bu5tHBYqaNRnzEdkBV1kbX9rZhqHdR","outgoing_receipts_root":"FmmxRvexn9MaM6kaywm5TJ4bAXma9LC8GvX3BYMSbBPj","prev_block_hash":"2cHmVxWxsdwowimB5bX3kR9qXa3F8c1t7gbTrMV7hn69","prev_state_root":"EgehqBxv1rs2143KmLDrbmyhZwHcHgZZwj5kjc48CLAn","rent_paid":"0","shard_id":0,"signature":"ed25519:5TQhvjHdmG4YMATrHYM4K96VRF6FRuu1LcrBG3WMFLEkHXo7gG2D3RGN2hnGMNVLosQqVGw91uMKfHvkNhe857Lq","tx_root":"5K8i8seBPYEKSXwsG9NugZmKhFmv7zgFbUAwqX7TNEfR","validator_proposals":[],"validator_reward":"0"},"receipts":[{"predecessor_id":"app.nearcrowd.near","receipt":{"Action":{"actions":[{"FunctionCall":{"args":"eyJhY2NvdW50X2lkIjoiYW5nZWxvay5uZWFyIiwic29sdXRpb25faGFzaCI6WzExMSwxMjEsMjQ0LDE3NSwxOCw2MSwxMTIsMTgsMTQ5LDI0NSwyMyw2OSwxMCw1NywyMzUsMywxNDksMjYsMjQ3LDIyNCw5NCwxOTksMjI5LDgxLDEyMSwxNzYsMjMyLDcsMTYsMTIxLDcxLDE2OV19","deposit":"0","gas":200000000000000,"method_name":"approve_solution"}}],"gas_price":"335989893","input_data_ids":[],"output_data_receivers":[],"signer_id":"app.nearcrowd.near","signer_public_key":"ed25519:CXYkSHvK2rj6sCGbaKPbTtwhcMrPvWxs1ntVvA6vLtm2"}},"receipt_id":"DwVQmRqaeHiMwRESakJhp2jdYbq5ATLwa5BdKQtaek8n","receiver_id":"app.nearcrowd.near"},{"predecessor_id":"7e887c69ca5edd6eadfe7b87905a1c12d0ea5c8e6e6ae1a9659b74a43490d497","receipt":{"Action":{"actions":[{"FunctionCall":{"args":"eyJyZWNlaXZlcl9pZCI6InJld2FyZC1vcHRpbi5zd2VhdCIsImFtb3VudCI6IjEwMDAwMDAwMDAwMDAwMDAwMCIsIm1lbW8iOiJzdzpyZXc6b3B0aW46WUdNNDN4eVc4UC03ZTg4N2M2OWNhNWVkZDZlYWRmZTdiODc5MDVhMWMxMmQwZWE1YzhlNmU2YWUxYTk2NTliNzRhNDM0OTBkNDk3In0=","deposit":"1","gas":14000000000000,"method_name":"ft_transfer"}}],"gas_price":"109272700","input_data_ids":[],"output_data_receivers":[],"signer_id":"7e887c69ca5edd6eadfe7b87905a1c12d0ea5c8e6e6ae1a9659b74a43490d497","signer_public_key":"ed25519:9Ww5a9UTdpEi1qYVFkv97E2Fvx88gqbVtnNTzCKrqvvJ"}},"receipt_id":"zGuoGbPEvvumUASBeui7VVneDh4Ft2TGaxUPj3mR2eG","receiver_id":"token.sweat"},{"predecessor_id":"17f374fb3e1e293f646627b869be7f63b3586ce417947e7f13275195f96cc8af","receipt":{"Action":{"actions":[{"FunctionCall":{"args":"eyJyZWNlaXZlcl9pZCI6InJld2FyZC1vcHRpbi5zd2VhdCIsImFtb3VudCI6IjEwMDAwMDAwMDAwMDAwMDAwMCIsIm1lbW8iOiJzdzpyZXc6b3B0aW46WUdNNDN4eVc4UC0xN2YzNzRmYjNlMWUyOTNmNjQ2NjI3Yjg2OWJlN2Y2M2IzNTg2Y2U0MTc5NDdlN2YxMzI3NTE5NWY5NmNjOGFmIn0=","deposit":"1","gas":14000000000000,"method_name":"ft_transfer"}}],"gas_price":"109272700","input_data_ids":[],"output_data_receivers":[],"signer_id":"17f374fb3e1e293f646627b869be7f63b3586ce417947e7f13275195f96cc8af","signer_public_key":"ed25519:2cVh7bm8ibwH4VUoUJqGb1yrckq5HdFHkzHrW8inRBSn"}},"receipt_id":"Fp8WoevW4UaFfeXV6341E5gcnkvREwjKByUDgvo4PdQy","receiver_id":"token.sweat"},{"predecessor_id":"system","receipt":{"Action":{"actions":[{"Transfer":{"deposit":"12524843062500000000"}}],"gas_price":"0","input_data_ids":[],"output_data_receivers":[],"signer_id":"sweat_welcome.near","signer_public_key":"ed25519:Ed2Qp2whbMphnXayJU94jdSV3KeEejn9wk54FouFxxDZ"}},"receipt_id":"616WtYRqUTBG1axECm9d2doCxdmiNqGBpGDSWGh7w6ec","receiver_id":"sweat_welcome.near"}],"transactions":[{"outcome":{"execution_outcome":{"block_hash":"9EGASj6bhqjHhCGaRG6u2BkywEBrLzTZSaoh6ECPH2Jo","id":"DD4ZQawic8dWCmahMUYcAg7r9pUEn9ySwRXJUdpqnKLf","outcome":{"executor_id":"6a24e779e81108ebeba2d424a49347999f6314383872479a164ef6a4c55213c7","gas_burnt":2428312288450,"logs":[],"metadata":{"gas_profile":null,"version":1},"receipt_ids":["BcG3MXNSMFBdaKuwc8enhXBXTK4P9WohdKQTa1Myu8jR"],"status":{"SuccessReceiptId":"BcG3MXNSMFBdaKuwc8enhXBXTK4P9WohdKQTa1Myu8jR"},"tokens_burnt":"242831228845000000000"},"proof":[{"direction":"Right","hash":"EMxw8DJ5wTGjs3RFCvbwT8j7ZAWisDvSUMfHhkoP2Pvh"},{"direction":"Right","hash":"6YgWkaQrFEybkbvN8Y6rCdJLwXS81UevfJdBE37TQgfM"},{"direction":"Right","hash":"EkrgUHptWkcbKXKYmu89MmMXKJbybLfbLMRhoGGmvt7v"},{"direction":"Right","hash":"7PZRbMCXzTZiGsEiEqRBNnq8m5JGmuEQq9yiZ95d5ySX"}]},"receipt":null},"transaction":{"actions":[{"FunctionCall":{"args":"eyJyZWNlaXZlcl9pZCI6InJld2FyZC1vcHRpbi5zd2VhdCIsImFtb3VudCI6IjEwMDAwMDAwMDAwMDAwMDAwMCIsIm1lbW8iOiJzdzpyZXc6b3B0aW46WUdNNDN4eVc4UC02YTI0ZTc3OWU4MTEwOGViZWJhMmQ0MjRhNDkzNDc5OTlmNjMxNDM4Mzg3MjQ3OWExNjRlZjZhNGM1NTIxM2M3In0=","deposit":"1","gas":14000000000000,"method_name":"ft_transfer"}}],"hash":"DD4ZQawic8dWCmahMUYcAg7r9pUEn9ySwRXJUdpqnKLf","nonce":64846206000026,"public_key":"ed25519:89LrYd5LjETg4vBgpEcD5h9NmEDLeceCcS8ZsDC8MogA","receiver_id":"token.sweat","signature":"ed25519:4hoqDdWrnB7BXxnErZ6GtYtxDMUoXcwDg7w7h1ef6PeyZ6k6XDUJPoDYqEYPrYRCXr54TzuY8uKMiYCMvjLX5pTf","signer_id":"6a24e779e81108ebeba2d424a49347999f6314383872479a164ef6a4c55213c7"}},{"outcome":{"execution_outcome":{"block_hash":"9EGASj6bhqjHhCGaRG6u2BkywEBrLzTZSaoh6ECPH2Jo","id":"76kuoHMchbcdmHTbCcg8AtsoPDfcXZ8cXvM85Kdp7Kyn","outcome":{"executor_id":"6ad20a76a405bdae35d6fe2050725d44f055de9d0305b027acd2bb36c490f40d","gas_burnt":2428312288450,"logs":[],"metadata":{"gas_profile":null,"version":1},"receipt_ids":["FL2yvCEjhCcgj7WqAFac4fAbYdLW5mMHdUdZjfLBCj7a"],"status":{"SuccessReceiptId":"FL2yvCEjhCcgj7WqAFac4fAbYdLW5mMHdUdZjfLBCj7a"},"tokens_burnt":"242831228845000000000"},"proof":[{"direction":"Left","hash":"BRS7TNvamzU7XtqVkWnUj7Tj49JeRmA93LzWKyAMAZhy"},{"direction":"Right","hash":"6YgWkaQrFEybkbvN8Y6rCdJLwXS81UevfJdBE37TQgfM"},{"direction":"Right","hash":"EkrgUHptWkcbKXKYmu89MmMXKJbybLfbLMRhoGGmvt7v"},{"direction":"Right","hash":"7PZRbMCXzTZiGsEiEqRBNnq8m5JGmuEQq9yiZ95d5ySX"}]},"receipt":null},"transaction":{"actions":[{"FunctionCall":{"args":"eyJyZWNlaXZlcl9pZCI6InJld2FyZC1vcHRpbi5zd2VhdCIsImFtb3VudCI6IjEwMDAwMDAwMDAwMDAwMDAwMCIsIm1lbW8iOiJzdzpyZXc6b3B0aW46Mm1CWDlHMDR3di02YWQyMGE3NmE0MDViZGFlMzVkNmZlMjA1MDcyNWQ0NGYwNTVkZTlkMDMwNWIwMjdhY2QyYmIzNmM0OTBmNDBkIn0=","deposit":"1","gas":14000000000000,"method_name":"ft_transfer"}}],"hash":"76kuoHMchbcdmHTbCcg8AtsoPDfcXZ8cXvM85Kdp7Kyn","nonce":71319939000056,"public_key":"ed25519:8ByygDeLtYPYEXYP6SYkHT9Gbb118aiMc2D7EJuCMtkL","receiver_id":"token.sweat","signature":"ed25519:fJaGpdVi1j2hxgdcgDKhbKUgnV1t2BH9uSmq4ibPgVCSftfRZhhQs3PsKDEETFDFQdjigueniVZ6Pb6mcaFRBoy","signer_id":"6ad20a76a405bdae35d6fe2050725d44f055de9d0305b027acd2bb36c490f40d"}},{"outcome":{"execution_outcome":{"block_hash":"9EGASj6bhqjHhCGaRG6u2BkywEBrLzTZSaoh6ECPH2Jo","id":"5sy31rpp1ZtKhPFSUoEkbsAfdL3irFkRvDzStKc5em2F","outcome":{"executor_id":"37e1d65580d2a44923bce44babb0f32d6a4280547a4e89e69718a61c42c120f9","gas_burnt":2428314524384,"logs":[],"metadata":{"gas_profile":null,"version":1},"receipt_ids":["CyZ6aPkczSi3oQcDgnris3oYMYbWn9nGkp4PRHee9XAm"],"status":{"SuccessReceiptId":"CyZ6aPkczSi3oQcDgnris3oYMYbWn9nGkp4PRHee9XAm"},"tokens_burnt":"242831452438400000000"},"proof":[{"direction":"Right","hash":"61UwP8PVZ7wf7uTcf6iADcgRsn9UHWC1XMGF4WXZ3AGW"},{"direction":"Left","hash":"De74QDTDJ9onAC61rkQrWwyCR6cRK6R1k8eWNChzQfAG"},{"direction":"Right","hash":"EkrgUHptWkcbKXKYmu89MmMXKJbybLfbLMRhoGGmvt7v"},{"direction":"Right","hash":"7PZRbMCXzTZiGsEiEqRBNnq8m5JGmuEQq9yiZ95d5ySX"}]},"receipt":null},"transaction":{"actions":[{"FunctionCall":{"args":"eyJyZWNlaXZlcl9pZCI6InJld2FyZC1vcHRpbi5zd2VhdCIsImFtb3VudCI6IjEwMDAwMDAwMDAwMDAwMDAwMDAiLCJtZW1vIjoic3c6cmV3Om9wdGluOnJlb1dxeEU0YVEtMzdlMWQ2NTU4MGQyYTQ0OTIzYmNlNDRiYWJiMGYzMmQ2YTQyODA1NDdhNGU4OWU2OTcxOGE2MWM0MmMxMjBmOSJ9","deposit":"1","gas":14000000000000,"method_name":"ft_transfer"}}],"hash":"5sy31rpp1ZtKhPFSUoEkbsAfdL3irFkRvDzStKc5em2F","nonce":85569677000013,"public_key":"ed25519:7RtBV7grEag56CAfhC1gcQAt65QhJdxE65Cixw2QC2Ls","receiver_id":"token.sweat","signature":"ed25519:4N8hgZjwv9JpL2GodnCwyjFTdubEths7H2xis81GzUFEgv7d6y6hjQG2rk3yvjNrTCC6npvfauXGQVeoSy9gA6kx","signer_id":"37e1d65580d2a44923bce44babb0f32d6a4280547a4e89e69718a61c42c120f9"}},{"outcome":{"execution_outcome":{"block_hash":"9EGASj6bhqjHhCGaRG6u2BkywEBrLzTZSaoh6ECPH2Jo","id":"HwDUCUs3zts1s13UJaSH8Qbzj8fyvgURAYkaPH2KKq2o","outcome":{"executor_id":"app.nearcrowd.near","gas_burnt":2428312288450,"logs":[],"metadata":{"gas_profile":null,"version":1},"receipt_ids":["DwVQmRqaeHiMwRESakJhp2jdYbq5ATLwa5BdKQtaek8n"],"status":{"SuccessReceiptId":"DwVQmRqaeHiMwRESakJhp2jdYbq5ATLwa5BdKQtaek8n"},"tokens_burnt":"242831228845000000000"},"proof":[{"direction":"Left","hash":"2noCGDgAPNyXJ6ZaSWbh5Y4xGrWDUUtapygE8j5sfPnv"},{"direction":"Left","hash":"De74QDTDJ9onAC61rkQrWwyCR6cRK6R1k8eWNChzQfAG"},{"direction":"Right","hash":"EkrgUHptWkcbKXKYmu89MmMXKJbybLfbLMRhoGGmvt7v"},{"direction":"Right","hash":"7PZRbMCXzTZiGsEiEqRBNnq8m5JGmuEQq9yiZ95d5ySX"}]},"receipt":null},"transaction":{"actions":[{"FunctionCall":{"args":"eyJhY2NvdW50X2lkIjoiYW5nZWxvay5uZWFyIiwic29sdXRpb25faGFzaCI6WzExMSwxMjEsMjQ0LDE3NSwxOCw2MSwxMTIsMTgsMTQ5LDI0NSwyMyw2OSwxMCw1NywyMzUsMywxNDksMjYsMjQ3LDIyNCw5NCwxOTksMjI5LDgxLDEyMSwxNzYsMjMyLDcsMTYsMTIxLDcxLDE2OV19","deposit":"0","gas":200000000000000,"method_name":"approve_solution"}}],"hash":"HwDUCUs3zts1s13UJaSH8Qbzj8fyvgURAYkaPH2KKq2o","nonce":43616777844741,"public_key":"ed25519:CXYkSHvK2rj6sCGbaKPbTtwhcMrPvWxs1ntVvA6vLtm2","receiver_id":"app.nearcrowd.near","signature":"ed25519:4tgN6qkmvGsHEFjmPkKDtDxT62XG1Xx2GZE1dr4eGE2KjBbpM6BFNQwkmuihXoWdmq5ZWkMLHC5A5Sqvywncpc5K","signer_id":"app.nearcrowd.near"}}]},"receipt_execution_outcomes":[{"execution_outcome":{"block_hash":"9EGASj6bhqjHhCGaRG6u2BkywEBrLzTZSaoh6ECPH2Jo","id":"DwVQmRqaeHiMwRESakJhp2jdYbq5ATLwa5BdKQtaek8n","outcome":{"executor_id":"app.nearcrowd.near","gas_burnt":3300131924827,"logs":[],"metadata":{"gas_profile":[{"cost":"BASE","cost_category":"WASM_HOST_COST","gas_used":"3177217332"},{"cost":"CONTRACT_LOADING_BASE","cost_category":"WASM_HOST_COST","gas_used":"35445963"},{"cost":"CONTRACT_LOADING_BYTES","cost_category":"WASM_HOST_COST","gas_used":"104961404250"},{"cost":"READ_CACHED_TRIE_NODE","cost_category":"WASM_HOST_COST","gas_used":"86640000000"},{"cost":"READ_MEMORY_BASE","cost_category":"WASM_HOST_COST","gas_used":"13049316000"},{"cost":"READ_MEMORY_BYTE","cost_category":"WASM_HOST_COST","gas_used":"307907973"},{"cost":"READ_REGISTER_BASE","cost_category":"WASM_HOST_COST","gas_used":"7551495558"},{"cost":"READ_REGISTER_BYTE","cost_category":"WASM_HOST_COST","gas_used":"19613838"},{"cost":"STORAGE_READ_BASE","cost_category":"WASM_HOST_COST","gas_used":"56356845750"},{"cost":"STORAGE_READ_KEY_BYTE","cost_category":"WASM_HOST_COST","gas_used":"154762665"},{"cost":"STORAGE_READ_VALUE_BYTE","cost_category":"WASM_HOST_COST","gas_used":"123442110"},{"cost":"STORAGE_WRITE_BASE","cost_category":"WASM_HOST_COST","gas_used":"128393472000"},{"cost":"STORAGE_WRITE_EVICTED_BYTE","cost_category":"WASM_HOST_COST","gas_used":"706580754"},{"cost":"STORAGE_WRITE_KEY_BYTE","cost_category":"WASM_HOST_COST","gas_used":"1550623074"},{"cost":"STORAGE_WRITE_VALUE_BYTE","cost_category":"WASM_HOST_COST","gas_used":"1675001106"},{"cost":"TOUCHING_TRIE_NODE","cost_category":"WASM_HOST_COST","gas_used":"418650854076"},{"cost":"WASM_INSTRUCTION","cost_category":"WASM_HOST_COST","gas_used":"24362627916"},{"cost":"WRITE_MEMORY_BASE","cost_category":"WASM_HOST_COST","gas_used":"11215179444"},{"cost":"WRITE_MEMORY_BYTE","cost_category":"WASM_HOST_COST","gas_used":"585610980"},{"cost":"WRITE_REGISTER_BASE","cost_category":"WASM_HOST_COST","gas_used":"11462089944"},{"cost":"WRITE_REGISTER_BYTE","cost_category":"WASM_HOST_COST","gas_used":"840145644"}],"version":3},"receipt_ids":["FuocYXxdpnGgFRPv89PUUeJADFFHoHPyZfrRQgwKPUQi"],"status":{"SuccessValue":""},"tokens_burnt":"330013192482700000000"},"proof":[{"direction":"Right","hash":"4YAGJgYSR4UL7fMv4SaMrq69Bnurg5YvpfJaQyYVwKoC"},{"direction":"Right","hash":"HS8ZdkzE2ZxAfzmgF79AxTAMCJJ9PQBWkKzzp5NwKRpo"},{"direction":"Left","hash":"3ANUWAfdSBpbNozdTRgEmyP5zqyuyqfBq1MwHoLabqoZ"},{"direction":"Right","hash":"7PZRbMCXzTZiGsEiEqRBNnq8m5JGmuEQq9yiZ95d5ySX"}]},"receipt":{"predecessor_id":"app.nearcrowd.near","receipt":{"Action":{"actions":[{"FunctionCall":{"args":"eyJhY2NvdW50X2lkIjoiYW5nZWxvay5uZWFyIiwic29sdXRpb25faGFzaCI6WzExMSwxMjEsMjQ0LDE3NSwxOCw2MSwxMTIsMTgsMTQ5LDI0NSwyMyw2OSwxMCw1NywyMzUsMywxNDksMjYsMjQ3LDIyNCw5NCwxOTksMjI5LDgxLDEyMSwxNzYsMjMyLDcsMTYsMTIxLDcxLDE2OV19","deposit":"0","gas":200000000000000,"method_name":"approve_solution"}}],"gas_price":"335989893","input_data_ids":[],"output_data_receivers":[],"signer_id":"app.nearcrowd.near","signer_public_key":"ed25519:CXYkSHvK2rj6sCGbaKPbTtwhcMrPvWxs1ntVvA6vLtm2"}},"receipt_id":"DwVQmRqaeHiMwRESakJhp2jdYbq5ATLwa5BdKQtaek8n","receiver_id":"app.nearcrowd.near"}},{"execution_outcome":{"block_hash":"9EGASj6bhqjHhCGaRG6u2BkywEBrLzTZSaoh6ECPH2Jo","id":"BiijgyfTANtByLAU1MUCXAUmiUSaNRbJ4GotMyGg54bC","outcome":{"executor_id":"7f2a4588f275fa492661c9f8894dfe8b9c949fb58b5c799898ff780b6f6790f2","gas_burnt":4174947687500,"logs":[],"metadata":{"gas_profile":[],"version":3},"receipt_ids":["CXR8fS6gsf6NDi4m2NsNtAXaRcVbExANbEwvYVSXxkxx"],"status":{"SuccessValue":""},"tokens_burnt":"417494768750000000000"},"proof":[{"direction":"Left","hash":"G1jQj4Mb1FtHCXnMVHzoded6M7pgBc7fLvAHWG2ornLL"},{"direction":"Right","hash":"HS8ZdkzE2ZxAfzmgF79AxTAMCJJ9PQBWkKzzp5NwKRpo"},{"direction":"Left","hash":"3ANUWAfdSBpbNozdTRgEmyP5zqyuyqfBq1MwHoLabqoZ"},{"direction":"Right","hash":"7PZRbMCXzTZiGsEiEqRBNnq8m5JGmuEQq9yiZ95d5ySX"}]},"receipt":{"predecessor_id":"sweat_welcome.near","receipt":{"Action":{"actions":[{"Transfer":{"deposit":"50000000000000000000000"}}],"gas_price":"103000000","input_data_ids":[],"output_data_receivers":[],"signer_id":"sweat_welcome.near","signer_public_key":"ed25519:4AHsaAFYC2xdLmxHJ4jrD4dYrC1nhSTWA3aUJkGiSHwo"}},"receipt_id":"BiijgyfTANtByLAU1MUCXAUmiUSaNRbJ4GotMyGg54bC","receiver_id":"7f2a4588f275fa492661c9f8894dfe8b9c949fb58b5c799898ff780b6f6790f2"}},{"execution_outcome":{"block_hash":"9EGASj6bhqjHhCGaRG6u2BkywEBrLzTZSaoh6ECPH2Jo","id":"6NNRshJfwuZYJvxXS1JCFMZXCjYd2GdK6gLgeE85FJqK","outcome":{"executor_id":"559943f15e74939ddeb799d684a9c05ef1d96a4bb40314e90c6a45b381c92c88","gas_burnt":4174947687500,"logs":[],"metadata":{"gas_profile":[],"version":3},"receipt_ids":[],"status":{"SuccessValue":""},"tokens_burnt":"0"},"proof":[{"direction":"Right","hash":"9HZzbir1LE5sss6x1siinvDEh4ypZnfiTG4efg96FQ5a"},{"direction":"Left","hash":"C7rcybGYQXgr38952JuYa68EJBhXqKjgMsHm2nZNSuX4"},{"direction":"Left","hash":"3ANUWAfdSBpbNozdTRgEmyP5zqyuyqfBq1MwHoLabqoZ"},{"direction":"Right","hash":"7PZRbMCXzTZiGsEiEqRBNnq8m5JGmuEQq9yiZ95d5ySX"}]},"receipt":{"predecessor_id":"system","receipt":{"Action":{"actions":[{"Transfer":{"deposit":"1434895483223091390800"}}],"gas_price":"0","input_data_ids":[],"output_data_receivers":[],"signer_id":"559943f15e74939ddeb799d684a9c05ef1d96a4bb40314e90c6a45b381c92c88","signer_public_key":"ed25519:5gCG5Czt7ZsqELQVxEAEGL4eq8e75Y2wd52Fs96FsnN2"}},"receipt_id":"6NNRshJfwuZYJvxXS1JCFMZXCjYd2GdK6gLgeE85FJqK","receiver_id":"559943f15e74939ddeb799d684a9c05ef1d96a4bb40314e90c6a45b381c92c88"}},{"execution_outcome":{"block_hash":"9EGASj6bhqjHhCGaRG6u2BkywEBrLzTZSaoh6ECPH2Jo","id":"6r6vy6jeNLXJ35JhJb8yUsJHMebP8SnZwNQjPRfcJ38L","outcome":{"executor_id":"aea0194936450e30a33909b750b514df4702afeb68d458dbc52ce03306dc0286","gas_burnt":4174947687500,"logs":[],"metadata":{"gas_profile":[],"version":3},"receipt_ids":[],"status":{"SuccessValue":""},"tokens_burnt":"0"},"proof":[{"direction":"Left","hash":"AMLmKfYKBtKkHetmKFbwqxfwp2RC9TBveCz9PJsphFgi"},{"direction":"Left","hash":"C7rcybGYQXgr38952JuYa68EJBhXqKjgMsHm2nZNSuX4"},{"direction":"Left","hash":"3ANUWAfdSBpbNozdTRgEmyP5zqyuyqfBq1MwHoLabqoZ"},{"direction":"Right","hash":"7PZRbMCXzTZiGsEiEqRBNnq8m5JGmuEQq9yiZ95d5ySX"}]},"receipt":{"predecessor_id":"system","receipt":{"Action":{"actions":[{"Transfer":{"deposit":"1430867781039410315000"}}],"gas_price":"0","input_data_ids":[],"output_data_receivers":[],"signer_id":"aea0194936450e30a33909b750b514df4702afeb68d458dbc52ce03306dc0286","signer_public_key":"ed25519:CkfXqE6dQnQSqSLyND7YobfaqNpRaoNHsVFeKRFCb1Wu"}},"receipt_id":"6r6vy6jeNLXJ35JhJb8yUsJHMebP8SnZwNQjPRfcJ38L","receiver_id":"aea0194936450e30a33909b750b514df4702afeb68d458dbc52ce03306dc0286"}},{"execution_outcome":{"block_hash":"9EGASj6bhqjHhCGaRG6u2BkywEBrLzTZSaoh6ECPH2Jo","id":"3WKf2WSBkJJr1G3fF9XEHMde672FbPWiCLQyEktfbBfR","outcome":{"executor_id":"2f82783e48caca533db368aad9da6dd9f92374bffd008245b94a9417c66ae34f","gas_burnt":4174947687500,"logs":[],"metadata":{"gas_profile":[],"version":3},"receipt_ids":[],"status":{"SuccessValue":""},"tokens_burnt":"0"},"proof":[{"direction":"Right","hash":"AVmTabtkwN12p3LpzHbTRuERiJinJNjjRBC31saSrfLQ"},{"direction":"Left","hash":"9PkGgoga8zM8986urpYRg2KzWgLzLocMSBGgWtK6Dwnt"}]},"receipt":{"predecessor_id":"system","receipt":{"Action":{"actions":[{"Transfer":{"deposit":"1457218832396810315000"}}],"gas_price":"0","input_data_ids":[],"output_data_receivers":[],"signer_id":"2f82783e48caca533db368aad9da6dd9f92374bffd008245b94a9417c66ae34f","signer_public_key":"ed25519:4CTYtj8RMfo2qJFWMzSaVSfft1FuoLGKnUESbGxnR3BL"}},"receipt_id":"3WKf2WSBkJJr1G3fF9XEHMde672FbPWiCLQyEktfbBfR","receiver_id":"2f82783e48caca533db368aad9da6dd9f92374bffd008245b94a9417c66ae34f"}},{"execution_outcome":{"block_hash":"9EGASj6bhqjHhCGaRG6u2BkywEBrLzTZSaoh6ECPH2Jo","id":"AjPq8fHZqoAHQ5x6gMvYh86mrtM6DiybpwQf2LNrbRfD","outcome":{"executor_id":"app.nearcrowd.near","gas_burnt":4281737624379,"logs":[],"metadata":{"gas_profile":[{"cost":"BASE","cost_category":"WASM_HOST_COST","gas_used":"9266883885"},{"cost":"CONTRACT_LOADING_BASE","cost_category":"WASM_HOST_COST","gas_used":"35445963"},{"cost":"CONTRACT_LOADING_BYTES","cost_category":"WASM_HOST_COST","gas_used":"104961404250"},{"cost":"READ_CACHED_TRIE_NODE","cost_category":"WASM_HOST_COST","gas_used":"383040000000"},{"cost":"READ_MEMORY_BASE","cost_category":"WASM_HOST_COST","gas_used":"31318358400"},{"cost":"READ_MEMORY_BYTE","cost_category":"WASM_HOST_COST","gas_used":"1566149196"},{"cost":"READ_REGISTER_BASE","cost_category":"WASM_HOST_COST","gas_used":"25171651860"},{"cost":"READ_REGISTER_BYTE","cost_category":"WASM_HOST_COST","gas_used":"59531448"},{"cost":"STORAGE_HAS_KEY_BASE","cost_category":"WASM_HOST_COST","gas_used":"54039896625"},{"cost":"STORAGE_HAS_KEY_BYTE","cost_category":"WASM_HOST_COST","gas_used":"646607745"},{"cost":"STORAGE_READ_BASE","cost_category":"WASM_HOST_COST","gas_used":"169070537250"},{"cost":"STORAGE_READ_KEY_BYTE","cost_category":"WASM_HOST_COST","gas_used":"2507155173"},{"cost":"STORAGE_READ_VALUE_BYTE","cost_category":"WASM_HOST_COST","gas_used":"1279309140"},{"cost":"STORAGE_REMOVE_BASE","cost_category":"WASM_HOST_COST","gas_used":"53473030500"},{"cost":"STORAGE_REMOVE_KEY_BYTE","cost_category":"WASM_HOST_COST","gas_used":"535085376"},{"cost":"STORAGE_REMOVE_RET_VALUE_BYTE","cost_category":"WASM_HOST_COST","gas_used":"380541348"},{"cost":"STORAGE_WRITE_BASE","cost_category":"WASM_HOST_COST","gas_used":"192590208000"},{"cost":"STORAGE_WRITE_EVICTED_BYTE","cost_category":"WASM_HOST_COST","gas_used":"7001572926"},{"cost":"STORAGE_WRITE_KEY_BYTE","cost_category":"WASM_HOST_COST","gas_used":"2819314680"},{"cost":"STORAGE_WRITE_VALUE_BYTE","cost_category":"WASM_HOST_COST","gas_used":"7785653289"},{"cost":"TOUCHING_TRIE_NODE","cost_category":"WASM_HOST_COST","gas_used":"692384104818"},{"cost":"WASM_INSTRUCTION","cost_category":"WASM_HOST_COST","gas_used":"50254759236"},{"cost":"WRITE_MEMORY_BASE","cost_category":"WASM_HOST_COST","gas_used":"30841743471"},{"cost":"WRITE_MEMORY_BYTE","cost_category":"WASM_HOST_COST","gas_used":"1688738640"},{"cost":"WRITE_REGISTER_BASE","cost_category":"WASM_HOST_COST","gas_used":"28655224860"},{"cost":"WRITE_REGISTER_BYTE","cost_category":"WASM_HOST_COST","gas_used":"2296144656"}],"version":3},"receipt_ids":["FTDicsTMMGMFMmdun4kJphR4Xjix6H6dfot4LwAmdZWU"],"status":{"SuccessValue":"ZmFsc2U="},"tokens_burnt":"428173762437900000000"},"proof":[{"direction":"Left","hash":"HysEXBQ3bXt1yoBvoUVD6jn1z8mev4N7RfnJ4JnhNuDw"},{"direction":"Left","hash":"9PkGgoga8zM8986urpYRg2KzWgLzLocMSBGgWtK6Dwnt"}]},"receipt":{"predecessor_id":"gareva.near","receipt":{"Action":{"actions":[{"FunctionCall":{"args":"eyJ0YXNrX29yZGluYWwiOjEsImJpZCI6IjUwMDAwMDAwMDAwMDAwMDAwMDAwMDAwIn0=","deposit":"0","gas":30000000000000,"method_name":"claim_assignment"}}],"gas_price":"122987387","input_data_ids":[],"output_data_receivers":[],"signer_id":"gareva.near","signer_public_key":"ed25519:6HwxDN5HEK1nphYuBGHQVLTPpbtgSJYBupwi8qACunjQ"}},"receipt_id":"AjPq8fHZqoAHQ5x6gMvYh86mrtM6DiybpwQf2LNrbRfD","receiver_id":"app.nearcrowd.near"}}],"shard_id":0,"state_changes":[{"cause":{"receipt_hash":"3WKf2WSBkJJr1G3fF9XEHMde672FbPWiCLQyEktfbBfR","type":"receipt_processing"},"change":{"account_id":"2f82783e48caca533db368aad9da6dd9f92374bffd008245b94a9417c66ae34f","amount":"74351083352347299999967","code_hash":"11111111111111111111111111111111","locked":"0","storage_paid_at":0,"storage_usage":182},"type":"account_update"},{"cause":{"tx_hash":"5sy31rpp1ZtKhPFSUoEkbsAfdL3irFkRvDzStKc5em2F","type":"transaction_processing"},"change":{"account_id":"37e1d65580d2a44923bce44babb0f32d6a4280547a4e89e69718a61c42c120f9","amount":"25163340743040644483170","code_hash":"11111111111111111111111111111111","locked":"0","storage_paid_at":0,"storage_usage":182},"type":"account_update"},{"cause":{"receipt_hash":"6NNRshJfwuZYJvxXS1JCFMZXCjYd2GdK6gLgeE85FJqK","type":"receipt_processing"},"change":{"account_id":"559943f15e74939ddeb799d684a9c05ef1d96a4bb40314e90c6a45b381c92c88","amount":"1786929249419117499999905","code_hash":"11111111111111111111111111111111","locked":"0","storage_paid_at":0,"storage_usage":182},"type":"account_update"},{"cause":{"tx_hash":"DD4ZQawic8dWCmahMUYcAg7r9pUEn9ySwRXJUdpqnKLf","type":"transaction_processing"},"change":{"account_id":"6a24e779e81108ebeba2d424a49347999f6314383872479a164ef6a4c55213c7","amount":"29150571014554489684977","code_hash":"11111111111111111111111111111111","locked":"0","storage_paid_at":0,"storage_usage":182},"type":"account_update"},{"cause":{"tx_hash":"76kuoHMchbcdmHTbCcg8AtsoPDfcXZ8cXvM85Kdp7Kyn","type":"transaction_processing"},"change":{"account_id":"6ad20a76a405bdae35d6fe2050725d44f055de9d0305b027acd2bb36c490f40d","amount":"44473025034048889684962","code_hash":"11111111111111111111111111111111","locked":"0","storage_paid_at":0,"storage_usage":182},"type":"account_update"},{"cause":{"receipt_hash":"BiijgyfTANtByLAU1MUCXAUmiUSaNRbJ4GotMyGg54bC","type":"receipt_processing"},"change":{"account_id":"7f2a4588f275fa492661c9f8894dfe8b9c949fb58b5c799898ff780b6f6790f2","amount":"50000000000000000000000","code_hash":"11111111111111111111111111111111","locked":"0","storage_paid_at":0,"storage_usage":182},"type":"account_update"},{"cause":{"receipt_hash":"6r6vy6jeNLXJ35JhJb8yUsJHMebP8SnZwNQjPRfcJ38L","type":"receipt_processing"},"change":{"account_id":"aea0194936450e30a33909b750b514df4702afeb68d458dbc52ce03306dc0286","amount":"62488762692101899999939","code_hash":"11111111111111111111111111111111","locked":"0","storage_paid_at":0,"storage_usage":182},"type":"account_update"},{"cause":{"tx_hash":"HwDUCUs3zts1s13UJaSH8Qbzj8fyvgURAYkaPH2KKq2o","type":"transaction_processing"},"change":{"account_id":"app.nearcrowd.near","amount":"3864979577342348747179783769","code_hash":"DyHG2t99dBZWiPgX53Z4UbbBQR6JJoxmqXwaKD4hTeyP","locked":"0","storage_paid_at":0,"storage_usage":4525592},"type":"account_update"},{"cause":{"receipt_hash":"DwVQmRqaeHiMwRESakJhp2jdYbq5ATLwa5BdKQtaek8n","type":"receipt_processing"},"change":{"account_id":"app.nearcrowd.near","amount":"3864979577342348747179783769","code_hash":"DyHG2t99dBZWiPgX53Z4UbbBQR6JJoxmqXwaKD4hTeyP","locked":"0","storage_paid_at":0,"storage_usage":4525681},"type":"account_update"},{"cause":{"receipt_hash":"DwVQmRqaeHiMwRESakJhp2jdYbq5ATLwa5BdKQtaek8n","type":"action_receipt_gas_reward"},"change":{"account_id":"app.nearcrowd.near","amount":"3864979603496937838479783769","code_hash":"DyHG2t99dBZWiPgX53Z4UbbBQR6JJoxmqXwaKD4hTeyP","locked":"0","storage_paid_at":0,"storage_usage":4525681},"type":"account_update"},{"cause":{"receipt_hash":"AjPq8fHZqoAHQ5x6gMvYh86mrtM6DiybpwQf2LNrbRfD","type":"receipt_processing"},"change":{"account_id":"app.nearcrowd.near","amount":"3864979603496937838479783769","code_hash":"DyHG2t99dBZWiPgX53Z4UbbBQR6JJoxmqXwaKD4hTeyP","locked":"0","storage_paid_at":0,"storage_usage":4525627},"type":"account_update"},{"cause":{"receipt_hash":"AjPq8fHZqoAHQ5x6gMvYh86mrtM6DiybpwQf2LNrbRfD","type":"action_receipt_gas_reward"},"change":{"account_id":"app.nearcrowd.near","amount":"3864979659107009420479783769","code_hash":"DyHG2t99dBZWiPgX53Z4UbbBQR6JJoxmqXwaKD4hTeyP","locked":"0","storage_paid_at":0,"storage_usage":4525627},"type":"account_update"},{"cause":{"tx_hash":"5sy31rpp1ZtKhPFSUoEkbsAfdL3irFkRvDzStKc5em2F","type":"transaction_processing"},"change":{"access_key":{"nonce":85569677000013,"permission":"FullAccess"},"account_id":"37e1d65580d2a44923bce44babb0f32d6a4280547a4e89e69718a61c42c120f9","public_key":"ed25519:7RtBV7grEag56CAfhC1gcQAt65QhJdxE65Cixw2QC2Ls"},"type":"access_key_update"},{"cause":{"tx_hash":"DD4ZQawic8dWCmahMUYcAg7r9pUEn9ySwRXJUdpqnKLf","type":"transaction_processing"},"change":{"access_key":{"nonce":64846206000026,"permission":"FullAccess"},"account_id":"6a24e779e81108ebeba2d424a49347999f6314383872479a164ef6a4c55213c7","public_key":"ed25519:89LrYd5LjETg4vBgpEcD5h9NmEDLeceCcS8ZsDC8MogA"},"type":"access_key_update"},{"cause":{"tx_hash":"76kuoHMchbcdmHTbCcg8AtsoPDfcXZ8cXvM85Kdp7Kyn","type":"transaction_processing"},"change":{"access_key":{"nonce":71319939000056,"permission":"FullAccess"},"account_id":"6ad20a76a405bdae35d6fe2050725d44f055de9d0305b027acd2bb36c490f40d","public_key":"ed25519:8ByygDeLtYPYEXYP6SYkHT9Gbb118aiMc2D7EJuCMtkL"},"type":"access_key_update"},{"cause":{"receipt_hash":"BiijgyfTANtByLAU1MUCXAUmiUSaNRbJ4GotMyGg54bC","type":"receipt_processing"},"change":{"access_key":{"nonce":93085140000000,"permission":"FullAccess"},"account_id":"7f2a4588f275fa492661c9f8894dfe8b9c949fb58b5c799898ff780b6f6790f2","public_key":"ed25519:9ZQASqHFBjk87rUX6mQWq75KpwzRGPZa5aZdqa9Ydidw"},"type":"access_key_update"},{"cause":{"tx_hash":"HwDUCUs3zts1s13UJaSH8Qbzj8fyvgURAYkaPH2KKq2o","type":"transaction_processing"},"change":{"access_key":{"nonce":43616777844741,"permission":"FullAccess"},"account_id":"app.nearcrowd.near","public_key":"ed25519:CXYkSHvK2rj6sCGbaKPbTtwhcMrPvWxs1ntVvA6vLtm2"},"type":"access_key_update"},{"cause":{"receipt_hash":"DwVQmRqaeHiMwRESakJhp2jdYbq5ATLwa5BdKQtaek8n","type":"receipt_processing"},"change":{"account_id":"app.nearcrowd.near","key_base64":"U1RBVEU=","value_base64":"EgAAAGFwcC5uZWFyY3Jvd2QubmVhcg=="},"type":"data_update"},{"cause":{"receipt_hash":"DwVQmRqaeHiMwRESakJhp2jdYbq5ATLwa5BdKQtaek8n","type":"receipt_processing"},"change":{"account_id":"app.nearcrowd.near","key_base64":"YQwAAABhbmdlbG9rLm5lYXI=","value_base64":"b3n0rxI9cBKV9RdFCjnrA5Ua9+Bex+VRebDoBxB5R6k="},"type":"data_update"},{"cause":{"receipt_hash":"AjPq8fHZqoAHQ5x6gMvYh86mrtM6DiybpwQf2LNrbRfD","type":"receipt_processing"},"change":{"account_id":"app.nearcrowd.near","key_base64":"cAEAAAA=","value_base64":"AABAe6XwY4GWCgAAAAAAAAAA9ESCkWNFAAAAAAAAAAAsAQAAAAAAAAAAQHul8GOBlgoAAAAAAADVO2wmxwhkFzS5vAAAAAAABgAAAHQBAAAAYtsHvQAAAAAABgAAAHQBAAAAYlUBAAAAAAAABgAAAHQBAAAAYwYAAAB0AQAAAGUGAAAAdAEAAABmBgAAAHQBAAAAZwEGAAAAdAEAAABtAA=="},"type":"data_update"},{"cause":{"receipt_hash":"AjPq8fHZqoAHQ5x6gMvYh86mrtM6DiybpwQf2LNrbRfD","type":"receipt_processing"},"change":{"account_id":"app.nearcrowd.near","key_base64":"dAEAAABjDgAAAAAAAAA=","value_base64":"TvSunjRFxs/AAT2jxNX9gFrnn50m1Az2G6nwWYMtWBIE"},"type":"data_update"},{"cause":{"receipt_hash":"AjPq8fHZqoAHQ5x6gMvYh86mrtM6DiybpwQf2LNrbRfD","type":"receipt_processing"},"change":{"account_id":"app.nearcrowd.near","key_base64":"dAEAAABjVQEAAAAAAAA="},"type":"data_deletion"},{"cause":{"receipt_hash":"AjPq8fHZqoAHQ5x6gMvYh86mrtM6DiybpwQf2LNrbRfD","type":"receipt_processing"},"change":{"account_id":"app.nearcrowd.near","key_base64":"dAEAAABnCwAAAGdhcmV2YS5uZWFy","value_base64":"A7Y3MCuQR8kni5KMpBaBmDw7qDbsfdTJ34jCRgWtDWY1AZdAIL3GCGQXAACgvVL4sUBLBQAAAAAAAA=="},"type":"data_update"}]} \ No newline at end of file diff --git a/block-streamer/data/000093085141/shard_1.json b/block-streamer/data/000093085141/shard_1.json new file mode 100644 index 000000000..e52927b3d --- /dev/null +++ b/block-streamer/data/000093085141/shard_1.json @@ -0,0 +1 @@ +{"chunk":{"author":"neardevgov.poolv1.near","header":{"balance_burnt":"336955792883000000000","chunk_hash":"4K9Zj1ZanDm9Cu3G4JnRWsCTPjhT7iMsb2m1ACNexvPZ","encoded_length":161,"encoded_merkle_root":"ExpvgdXmijmisL9VWUSZd6cH2XZ8KjMfvRq2TFXwWaJ","gas_limit":1000000000000000,"gas_used":3772355756216,"height_created":93085141,"height_included":93085141,"outcome_root":"35sKVEqAvGiAddvByfoFNyJz7DF5AYWaPnLPGqqvwi3s","outgoing_receipts_root":"DaAh9aGfy8hrRkSPa8VajKr4JG6eivSGognFYQXuezTG","prev_block_hash":"2cHmVxWxsdwowimB5bX3kR9qXa3F8c1t7gbTrMV7hn69","prev_state_root":"9D5KaP2ZukXZR5SKAXgU9cuq5niDuvpjrbCXofAzy4ow","rent_paid":"0","shard_id":1,"signature":"ed25519:3thVBMZWNUgwdLsNtm2hfHF2MrHhovjN9aQQJAi7uNicKw8eUyLjbcpwVMorQ6uT9JbK1GJbto9m1XWF5XNr96LW","tx_root":"11111111111111111111111111111111","validator_proposals":[],"validator_reward":"0"},"receipts":[{"predecessor_id":"system","receipt":{"Action":{"actions":[{"Transfer":{"deposit":"188653474442246325537704"}}],"gas_price":"0","input_data_ids":[],"output_data_receivers":[],"signer_id":"relay.aurora","signer_public_key":"ed25519:DHJZ82oYW3skfV8PJPPGQ583dcrp5Qc6aP6hJYePGWp1"}},"receipt_id":"4TbBhk5HrKbL7m6Jvkw8R7W6hsx38cGTEqtnbysjwG9t","receiver_id":"relay.aurora"}],"transactions":[]},"receipt_execution_outcomes":[{"execution_outcome":{"block_hash":"9EGASj6bhqjHhCGaRG6u2BkywEBrLzTZSaoh6ECPH2Jo","id":"GWjrwTQ5VwBdJvesqY8Drrv47bdPePNRqdsE8H1tVc5K","outcome":{"executor_id":"aurora","gas_burnt":8169280906812,"logs":["signer_address Address(0xf2f3776b9f69a9302c897aec26b59027e01d36cc)","total_writes_count 3\ntotal_written_bytes 96"],"metadata":{"gas_profile":[{"cost":"BASE","cost_category":"WASM_HOST_COST","gas_used":"24093898101"},{"cost":"CONTRACT_LOADING_BASE","cost_category":"WASM_HOST_COST","gas_used":"35445963"},{"cost":"CONTRACT_LOADING_BYTES","cost_category":"WASM_HOST_COST","gas_used":"215483313000"},{"cost":"ECRECOVER_BASE","cost_category":"WASM_HOST_COST","gas_used":"278821988457"},{"cost":"KECCAK256_BASE","cost_category":"WASM_HOST_COST","gas_used":"17638473825"},{"cost":"KECCAK256_BYTE","cost_category":"WASM_HOST_COST","gas_used":"4766585310"},{"cost":"LOG_BASE","cost_category":"WASM_HOST_COST","gas_used":"7086626100"},{"cost":"LOG_BYTE","cost_category":"WASM_HOST_COST","gas_used":"1438668219"},{"cost":"READ_CACHED_TRIE_NODE","cost_category":"WASM_HOST_COST","gas_used":"467400000000"},{"cost":"READ_MEMORY_BASE","cost_category":"WASM_HOST_COST","gas_used":"107004391200"},{"cost":"READ_MEMORY_BYTE","cost_category":"WASM_HOST_COST","gas_used":"5979496809"},{"cost":"READ_REGISTER_BASE","cost_category":"WASM_HOST_COST","gas_used":"70480625208"},{"cost":"READ_REGISTER_BYTE","cost_category":"WASM_HOST_COST","gas_used":"826343808"},{"cost":"STORAGE_READ_BASE","cost_category":"WASM_HOST_COST","gas_used":"1239850606500"},{"cost":"STORAGE_READ_KEY_BYTE","cost_category":"WASM_HOST_COST","gas_used":"19809621120"},{"cost":"STORAGE_READ_VALUE_BYTE","cost_category":"WASM_HOST_COST","gas_used":"44686043820"},{"cost":"STORAGE_WRITE_BASE","cost_category":"WASM_HOST_COST","gas_used":"385180416000"},{"cost":"STORAGE_WRITE_EVICTED_BYTE","cost_category":"WASM_HOST_COST","gas_used":"6166522944"},{"cost":"STORAGE_WRITE_KEY_BYTE","cost_category":"WASM_HOST_COST","gas_used":"14378504868"},{"cost":"STORAGE_WRITE_VALUE_BYTE","cost_category":"WASM_HOST_COST","gas_used":"5955559488"},{"cost":"TOUCHING_TRIE_NODE","cost_category":"WASM_HOST_COST","gas_used":"1255952562228"},{"cost":"UTF8_DECODING_BASE","cost_category":"WASM_HOST_COST","gas_used":"6223558122"},{"cost":"UTF8_DECODING_BYTE","cost_category":"WASM_HOST_COST","gas_used":"31782272211"},{"cost":"WASM_INSTRUCTION","cost_category":"WASM_HOST_COST","gas_used":"1301441200092"},{"cost":"WRITE_MEMORY_BASE","cost_category":"WASM_HOST_COST","gas_used":"75702461247"},{"cost":"WRITE_MEMORY_BYTE","cost_category":"WASM_HOST_COST","gas_used":"22661783040"},{"cost":"WRITE_REGISTER_BASE","cost_category":"WASM_HOST_COST","gas_used":"97427764524"},{"cost":"WRITE_REGISTER_BYTE","cost_category":"WASM_HOST_COST","gas_used":"32602212864"}],"version":3},"receipt_ids":["E9czK4fNS8banNi9La7XhXVEpFtzYVjQxUdGocQ8pf7x"],"status":{"SuccessValue":"BwAAAAAADqsAAAAAAAABAAAAxuUYVDjhcwlZwe81UQWaP+x0TpAEAAAALUUjmMuLueXNreqr/gpdZr+Dq98xftVjOmRSj1vudFgAAAAAAAAAAAAAAADH6oGevwjl/0gdRwimAvkjgK+7CgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKusA0AAAAAAAAAAAAAAAA8vN3a59pqTAsiXrsJrWQJ+AdNswAAAAA"},"tokens_burnt":"816928090681200000000"},"proof":[]},"receipt":{"predecessor_id":"relay.aurora","receipt":{"Action":{"actions":[{"FunctionCall":{"args":"+NCDE+9ihAQsHYCDHoSAlMblGFQ44XMJWcHvNVEFmj/sdE6QgLhk9Otz1AAAAAAAAAAAAAAAAMfqgZ6/COX/SB1HCKYC+SOAr7sKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAq6wDQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZHZpJ4ScioLIoJjp4MmKXcnhylS3GYki1uvpHg8xwMblDaLwkSVXzQMCoCSmCbsMdGTFxPBCAdautus3bO0uFxVXiXY2YJaHHTyO","deposit":"0","gas":300000000000000,"method_name":"submit"}}],"gas_price":"625040174","input_data_ids":[],"output_data_receivers":[],"signer_id":"relay.aurora","signer_public_key":"ed25519:6gNHGeifK61KjBgW2Pn6NyQJyw9xgP4uLQgr1NrKQjhK"}},"receipt_id":"GWjrwTQ5VwBdJvesqY8Drrv47bdPePNRqdsE8H1tVc5K","receiver_id":"aurora"}}],"shard_id":1,"state_changes":[{"cause":{"receipt_hash":"GWjrwTQ5VwBdJvesqY8Drrv47bdPePNRqdsE8H1tVc5K","type":"receipt_processing"},"change":{"account_id":"aurora","amount":"63666262831378951240605883273","code_hash":"d4saiJUZuaKVUzbr5MtEPdh7Z4415hz9tHidvLEyv71","locked":"0","storage_paid_at":0,"storage_usage":6366140096},"type":"account_update"},{"cause":{"receipt_hash":"GWjrwTQ5VwBdJvesqY8Drrv47bdPePNRqdsE8H1tVc5K","type":"action_receipt_gas_reward"},"change":{"account_id":"aurora","amount":"63666263003605259592605883273","code_hash":"d4saiJUZuaKVUzbr5MtEPdh7Z4415hz9tHidvLEyv71","locked":"0","storage_paid_at":0,"storage_usage":6366140096},"type":"account_update"},{"cause":{"receipt_hash":"GWjrwTQ5VwBdJvesqY8Drrv47bdPePNRqdsE8H1tVc5K","type":"receipt_processing"},"change":{"account_id":"aurora","key_base64":"BwHy83drn2mpMCyJeuwmtZAn4B02zA==","value_base64":"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAT72M="},"type":"data_update"},{"cause":{"receipt_hash":"GWjrwTQ5VwBdJvesqY8Drrv47bdPePNRqdsE8H1tVc5K","type":"receipt_processing"},"change":{"account_id":"aurora","key_base64":"BwJrGVnnAwPjNNfLV3IixilrwTL67Q==","value_base64":"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACB0TRn1GgNIA="},"type":"data_update"},{"cause":{"receipt_hash":"GWjrwTQ5VwBdJvesqY8Drrv47bdPePNRqdsE8H1tVc5K","type":"receipt_processing"},"change":{"account_id":"aurora","key_base64":"BwLy83drn2mpMCyJeuwmtZAn4B02zA==","value_base64":"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMPfGSn574A="},"type":"data_update"},{"cause":{"receipt_hash":"GWjrwTQ5VwBdJvesqY8Drrv47bdPePNRqdsE8H1tVc5K","type":"receipt_processing"},"change":{"account_id":"aurora","key_base64":"BwTG5RhUOOFzCVnB7zVRBZo/7HROkAEAAACrT6haoUz6rrj0wWfgN4McXyqiaDCOWtdITu1+obYNbg==","value_base64":"ZHZoKxgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAq6wDQ="},"type":"data_update"},{"cause":{"receipt_hash":"GWjrwTQ5VwBdJvesqY8Drrv47bdPePNRqdsE8H1tVc5K","type":"receipt_processing"},"change":{"account_id":"aurora","key_base64":"BwTG5RhUOOFzCVnB7zVRBZo/7HROkAEAAAC9VjXct4m74HWr3h+OjFeHYpCW/Nsq5KcvCYbMwr0TJQ==","value_base64":"AGR2aScAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAq6wDQ="},"type":"data_update"}]} \ No newline at end of file diff --git a/block-streamer/data/000093085141/shard_2.json b/block-streamer/data/000093085141/shard_2.json new file mode 100644 index 000000000..bee624cfe --- /dev/null +++ b/block-streamer/data/000093085141/shard_2.json @@ -0,0 +1 @@ +{"chunk":{"author":"astro-stakers.poolv1.near","header":{"balance_burnt":"660301625914400000000","chunk_hash":"GWGFPyAvWLnHw4eo8XEUNz3EFpfogE4acJ13h8jorTT1","encoded_length":701,"encoded_merkle_root":"AVWEeygQLxnYMGREJmAQE4BDQwsg1FCJJ2dK2kWNh47W","gas_limit":1000000000000000,"gas_used":7049381384144,"height_created":93085141,"height_included":93085141,"outcome_root":"CxxEgz23MJKojjGWXe3muBjD6yiLCSo7NyGgfpu64aug","outgoing_receipts_root":"H96o6Z112kp4FgNm5rbpGxNCc53x4bbmcPce6NpaFMoK","prev_block_hash":"2cHmVxWxsdwowimB5bX3kR9qXa3F8c1t7gbTrMV7hn69","prev_state_root":"5TztQJP7d3436iXmFpG5PSYAtNhz9mNYu7XJ8UyxDpQe","rent_paid":"0","shard_id":2,"signature":"ed25519:3eNQL7PXH96tb2LkkYdNrHJ8nB7PpGjCc98gsURvMMMifsWcjL48AM9AB1QWZFCFd61oiyGViKKKB8HSYom4z7jP","tx_root":"AWG7nTuyxSdtk5sEwGuB1mUmACnkAvGMn5zw8mbgXAFP","validator_proposals":[],"validator_reward":"0"},"receipts":[{"predecessor_id":"gareva.near","receipt":{"Action":{"actions":[{"FunctionCall":{"args":"eyJ0YXNrX29yZGluYWwiOjEsImJpZCI6IjUwMDAwMDAwMDAwMDAwMDAwMDAwMDAwIn0=","deposit":"0","gas":30000000000000,"method_name":"claim_assignment"}}],"gas_price":"122987387","input_data_ids":[],"output_data_receivers":[],"signer_id":"gareva.near","signer_public_key":"ed25519:6HwxDN5HEK1nphYuBGHQVLTPpbtgSJYBupwi8qACunjQ"}},"receipt_id":"AjPq8fHZqoAHQ5x6gMvYh86mrtM6DiybpwQf2LNrbRfD","receiver_id":"app.nearcrowd.near"},{"predecessor_id":"system","receipt":{"Action":{"actions":[{"Transfer":{"deposit":"12524843062500000000"}}],"gas_price":"0","input_data_ids":[],"output_data_receivers":[],"signer_id":"sweat_welcome.near","signer_public_key":"ed25519:7ehQMq5CxWinuNqbigdZ7dqNPAK4ZbJUj76SQ6xo23ia"}},"receipt_id":"HaT3ZccHwsEWnRJUBVuHqBetFNj2VkPpN3n3LEqsggBy","receiver_id":"sweat_welcome.near"}],"transactions":[{"outcome":{"execution_outcome":{"block_hash":"9EGASj6bhqjHhCGaRG6u2BkywEBrLzTZSaoh6ECPH2Jo","id":"3zuxLwgGW9eE3MzCMu5SdZRgJr57gFrgsdyPHTZSkSBJ","outcome":{"executor_id":"beevaapaa.near","gas_burnt":2428073043512,"logs":[],"metadata":{"gas_profile":null,"version":1},"receipt_ids":["CC1BqWcwshhYyfWYhByzsKPkuTDqNkEMZP14YmsiLzd8"],"status":{"SuccessReceiptId":"CC1BqWcwshhYyfWYhByzsKPkuTDqNkEMZP14YmsiLzd8"},"tokens_burnt":"242807304351200000000"},"proof":[]},"receipt":null},"transaction":{"actions":[{"FunctionCall":{"args":"eyJ0YXNrX29yZGluYWwiOjEsImFwcHJvdmUiOnRydWUsInJlamVjdGlvbl9yZWFzb24iOiIifQ==","deposit":"0","gas":80000000000000,"method_name":"submit_review"}}],"hash":"3zuxLwgGW9eE3MzCMu5SdZRgJr57gFrgsdyPHTZSkSBJ","nonce":93048334000411,"public_key":"ed25519:H3s8jBvjZ9t4CPHvWTvSrEAwB6cjNGraQJrFsifzqBJ1","receiver_id":"app.nearcrowd.near","signature":"ed25519:54dGecUBcyxMBnvK9k329nP8nx8z4R72GRbbYStUa2JntPEnVn39rrZNdZhwFcdVUmGgJFPshNypPVVboNULjMBH","signer_id":"beevaapaa.near"}}]},"receipt_execution_outcomes":[],"shard_id":2,"state_changes":[{"cause":{"tx_hash":"3zuxLwgGW9eE3MzCMu5SdZRgJr57gFrgsdyPHTZSkSBJ","type":"transaction_processing"},"change":{"account_id":"beevaapaa.near","amount":"1962568243503760945877158","code_hash":"7DcAdMUT1MjaZ9s7zhXdyxKvQsRsSfnmBGdzeZaquqDE","locked":"0","storage_paid_at":0,"storage_usage":6892},"type":"account_update"},{"cause":{"tx_hash":"3zuxLwgGW9eE3MzCMu5SdZRgJr57gFrgsdyPHTZSkSBJ","type":"transaction_processing"},"change":{"access_key":{"nonce":93048334000411,"permission":{"FunctionCall":{"allowance":"106579422027617557348832","method_names":[],"receiver_id":"app.nearcrowd.near"}}},"account_id":"beevaapaa.near","public_key":"ed25519:H3s8jBvjZ9t4CPHvWTvSrEAwB6cjNGraQJrFsifzqBJ1"},"type":"access_key_update"}]} \ No newline at end of file diff --git a/block-streamer/data/000093085141/shard_3.json b/block-streamer/data/000093085141/shard_3.json new file mode 100644 index 000000000..b84bdae3a --- /dev/null +++ b/block-streamer/data/000093085141/shard_3.json @@ -0,0 +1 @@ +{"chunk":{"author":"bzam6yjpnfnxsdmjf6pw.poolv1.near","header":{"balance_burnt":"2290298267551700000000","chunk_hash":"6s29toMBxow7sNNf2huCzs9Jx77cuD4Ei6Q53FsJRV8e","encoded_length":2884,"encoded_merkle_root":"6e2PjAbKLmK3ZHMDuU6AGqbF7LuKXQrx8Ha9X5jtQT2m","gas_limit":1000000000000000,"gas_used":25705493164532,"height_created":93085141,"height_included":93085141,"outcome_root":"D14cNKyYmNfNrHkXAgdQREjf9sUdgBbretD8bTzzibup","outgoing_receipts_root":"DpPAKmARwUGBfYLDbXWPTL53auH3ingsvsFsj2MCwbe6","prev_block_hash":"2cHmVxWxsdwowimB5bX3kR9qXa3F8c1t7gbTrMV7hn69","prev_state_root":"98HzgR4qeCoV9R8KXw3i27HdQreH5o4j5VWmocxHh19A","rent_paid":"0","shard_id":3,"signature":"ed25519:2wvGjamXwpn3euAyv8Xr951ZJVzGeMJiMQ8cGTa6HwW986kfPe5YCFhMytaNLe74MxgpezX8Fy3ptRbaBiPZCPAk","tx_root":"4iRESwugTeYZzUeYs6VxbUQHvnX2UnBrY7yXRpB6fUyG","validator_proposals":[],"validator_reward":"0"},"receipts":[{"predecessor_id":"sweat_welcome.near","receipt":{"Action":{"actions":[{"Transfer":{"deposit":"50000000000000000000000"}}],"gas_price":"103000000","input_data_ids":[],"output_data_receivers":[],"signer_id":"sweat_welcome.near","signer_public_key":"ed25519:4AHsaAFYC2xdLmxHJ4jrD4dYrC1nhSTWA3aUJkGiSHwo"}},"receipt_id":"BiijgyfTANtByLAU1MUCXAUmiUSaNRbJ4GotMyGg54bC","receiver_id":"7f2a4588f275fa492661c9f8894dfe8b9c949fb58b5c799898ff780b6f6790f2"},{"predecessor_id":"relay.aurora","receipt":{"Action":{"actions":[{"FunctionCall":{"args":"+NCDE+9ihAQsHYCDHoSAlMblGFQ44XMJWcHvNVEFmj/sdE6QgLhk9Otz1AAAAAAAAAAAAAAAAMfqgZ6/COX/SB1HCKYC+SOAr7sKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAq6wDQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZHZpJ4ScioLIoJjp4MmKXcnhylS3GYki1uvpHg8xwMblDaLwkSVXzQMCoCSmCbsMdGTFxPBCAdautus3bO0uFxVXiXY2YJaHHTyO","deposit":"0","gas":300000000000000,"method_name":"submit"}}],"gas_price":"625040174","input_data_ids":[],"output_data_receivers":[],"signer_id":"relay.aurora","signer_public_key":"ed25519:6gNHGeifK61KjBgW2Pn6NyQJyw9xgP4uLQgr1NrKQjhK"}},"receipt_id":"GWjrwTQ5VwBdJvesqY8Drrv47bdPePNRqdsE8H1tVc5K","receiver_id":"aurora"},{"predecessor_id":"token.sweat","receipt":{"Action":{"actions":[{"Transfer":{"deposit":"350000000000000000000"}}],"gas_price":"122987387","input_data_ids":[],"output_data_receivers":[],"signer_id":"sweat_welcome.near","signer_public_key":"ed25519:7ehQMq5CxWinuNqbigdZ7dqNPAK4ZbJUj76SQ6xo23ia"}},"receipt_id":"H9SAk6R1uuq7AzSpK9mJ29LRB7dN3MAfsppZPh9nhWqi","receiver_id":"sweat_welcome.near"},{"predecessor_id":"system","receipt":{"Action":{"actions":[{"Transfer":{"deposit":"3581491543024083600468"}}],"gas_price":"0","input_data_ids":[],"output_data_receivers":[],"signer_id":"sweat_welcome.near","signer_public_key":"ed25519:7ehQMq5CxWinuNqbigdZ7dqNPAK4ZbJUj76SQ6xo23ia"}},"receipt_id":"7GAVJSFYbALYWLndUuWnFhYXzuP4gzU5ckwAdGQxL8Vv","receiver_id":"sweat_welcome.near"},{"predecessor_id":"token.sweat","receipt":{"Action":{"actions":[{"Transfer":{"deposit":"350000000000000000000"}}],"gas_price":"122987387","input_data_ids":[],"output_data_receivers":[],"signer_id":"sweat_welcome.near","signer_public_key":"ed25519:Ed2Qp2whbMphnXayJU94jdSV3KeEejn9wk54FouFxxDZ"}},"receipt_id":"FWBbgZDwWRhCzJSucoXrHtFLMoeq4LQrPYZshotwK7vc","receiver_id":"sweat_welcome.near"},{"predecessor_id":"system","receipt":{"Action":{"actions":[{"Transfer":{"deposit":"3626309065658283600468"}}],"gas_price":"0","input_data_ids":[],"output_data_receivers":[],"signer_id":"sweat_welcome.near","signer_public_key":"ed25519:Ed2Qp2whbMphnXayJU94jdSV3KeEejn9wk54FouFxxDZ"}},"receipt_id":"9eEhPbDep1MdfSfsoLvW4p2wC9XuBVuGoTUaUaoR7wqp","receiver_id":"sweat_welcome.near"},{"predecessor_id":"system","receipt":{"Action":{"actions":[{"Transfer":{"deposit":"5130383935839187500"}}],"gas_price":"0","input_data_ids":[],"output_data_receivers":[],"signer_id":"sweat_welcome.near","signer_public_key":"ed25519:3ABZWQDGe7NTdZgFWZXm5ssnGvSmnvY9ZBFA8zXAsGZm"}},"receipt_id":"C4Y2iwVETV4QxvzRiC3hpWumDRYrCwi8sK6yZ2oM6smz","receiver_id":"sweat_welcome.near"},{"predecessor_id":"system","receipt":{"Action":{"actions":[{"Transfer":{"deposit":"1434895483223091390800"}}],"gas_price":"0","input_data_ids":[],"output_data_receivers":[],"signer_id":"559943f15e74939ddeb799d684a9c05ef1d96a4bb40314e90c6a45b381c92c88","signer_public_key":"ed25519:5gCG5Czt7ZsqELQVxEAEGL4eq8e75Y2wd52Fs96FsnN2"}},"receipt_id":"6NNRshJfwuZYJvxXS1JCFMZXCjYd2GdK6gLgeE85FJqK","receiver_id":"559943f15e74939ddeb799d684a9c05ef1d96a4bb40314e90c6a45b381c92c88"},{"predecessor_id":"system","receipt":{"Action":{"actions":[{"Transfer":{"deposit":"1430867781039410315000"}}],"gas_price":"0","input_data_ids":[],"output_data_receivers":[],"signer_id":"aea0194936450e30a33909b750b514df4702afeb68d458dbc52ce03306dc0286","signer_public_key":"ed25519:CkfXqE6dQnQSqSLyND7YobfaqNpRaoNHsVFeKRFCb1Wu"}},"receipt_id":"6r6vy6jeNLXJ35JhJb8yUsJHMebP8SnZwNQjPRfcJ38L","receiver_id":"aea0194936450e30a33909b750b514df4702afeb68d458dbc52ce03306dc0286"},{"predecessor_id":"system","receipt":{"Action":{"actions":[{"Transfer":{"deposit":"1457218832396810315000"}}],"gas_price":"0","input_data_ids":[],"output_data_receivers":[],"signer_id":"2f82783e48caca533db368aad9da6dd9f92374bffd008245b94a9417c66ae34f","signer_public_key":"ed25519:4CTYtj8RMfo2qJFWMzSaVSfft1FuoLGKnUESbGxnR3BL"}},"receipt_id":"3WKf2WSBkJJr1G3fF9XEHMde672FbPWiCLQyEktfbBfR","receiver_id":"2f82783e48caca533db368aad9da6dd9f92374bffd008245b94a9417c66ae34f"}],"transactions":[{"outcome":{"execution_outcome":{"block_hash":"9EGASj6bhqjHhCGaRG6u2BkywEBrLzTZSaoh6ECPH2Jo","id":"72krTmVBGzwqT2VyNaw7NAmybGHr9TaEFgt5r2tg3p9U","outcome":{"executor_id":"learn.sweat","gas_burnt":2428229558892,"logs":[],"metadata":{"gas_profile":null,"version":1},"receipt_ids":["FwJaDcrTo1hoVULwVmH1gqFkmUDnw4LNyf1RRNCKVykm"],"status":{"SuccessReceiptId":"FwJaDcrTo1hoVULwVmH1gqFkmUDnw4LNyf1RRNCKVykm"},"tokens_burnt":"242822955889200000000"},"proof":[{"direction":"Right","hash":"9XVpjCP7Lon6AiVEggKTP5LqCTqfhMrqu5jfge82KnF"},{"direction":"Right","hash":"B5xfYP2LpgnDCi1GzuUzEr13sbVhGUGo4psUwWBUcowo"},{"direction":"Right","hash":"9oPAiJ31D7s7nctzdc31aNAenpvz4Z6vHrfV1PFEn7Ts"},{"direction":"Right","hash":"7TBcTGGbdbcrbwPN8Ch7YYAYoYHevQv4xUDNapuXuqGT"}]},"receipt":null},"transaction":{"actions":[{"FunctionCall":{"args":"eyJyZWNlaXZlcl9pZCI6ImQ3OWJjYWQ5MmE3NTM4YjczNGYyYzczN2U0MDAxMDFiMzMzYjRkMzVhMGMwZDc5ODRmNWMyN2QyYmUxMWQ0YjMiLCJhbW91bnQiOiIxMDAwMDAwIiwibWVtbyI6InN3OnRyOkoxV2sxRDZ3S2EifQ==","deposit":"1","gas":30000000000000,"method_name":"ft_transfer"}}],"hash":"72krTmVBGzwqT2VyNaw7NAmybGHr9TaEFgt5r2tg3p9U","nonce":79605023186277,"public_key":"ed25519:9wRicBBHSqTtPzooqYTmhijZcQXonJM7FjQxvh6cfKzo","receiver_id":"usdt.tether-token.near","signature":"ed25519:26XWRA6TrevnVZyVvJU1mecFFCKUCxXofbsvhT39cruxEYQeTA3Hys9piTJ4CXW4CanuhiDks92oq6BTwMMV5e55","signer_id":"learn.sweat"}},{"outcome":{"execution_outcome":{"block_hash":"9EGASj6bhqjHhCGaRG6u2BkywEBrLzTZSaoh6ECPH2Jo","id":"9GeEkpJ3L4PC2EU1Pseyc1TfxdJxoQMkNHjtjZ1bSCsw","outcome":{"executor_id":"sweat_welcome.near","gas_burnt":2428135649664,"logs":[],"metadata":{"gas_profile":null,"version":1},"receipt_ids":["BxgraVvjqCoUpwMeaJivTDBg5TLkibsoqGt3aLxqkedZ"],"status":{"SuccessReceiptId":"BxgraVvjqCoUpwMeaJivTDBg5TLkibsoqGt3aLxqkedZ"},"tokens_burnt":"242813564966400000000"},"proof":[{"direction":"Left","hash":"9ujNQYLwxCHJtfF3m7XCwumhk96opPR3sENDnijhXEhz"},{"direction":"Right","hash":"B5xfYP2LpgnDCi1GzuUzEr13sbVhGUGo4psUwWBUcowo"},{"direction":"Right","hash":"9oPAiJ31D7s7nctzdc31aNAenpvz4Z6vHrfV1PFEn7Ts"},{"direction":"Right","hash":"7TBcTGGbdbcrbwPN8Ch7YYAYoYHevQv4xUDNapuXuqGT"}]},"receipt":null},"transaction":{"actions":[{"FunctionCall":{"args":"eyJhY2NvdW50X2lkIjoiN2YyYTQ1ODhmMjc1ZmE0OTI2NjFjOWY4ODk0ZGZlOGI5Yzk0OWZiNThiNWM3OTk4OThmZjc4MGI2ZjY3OTBmMiJ9","deposit":"1250000000000000000000","gas":30000000000000,"method_name":"storage_deposit"}}],"hash":"9GeEkpJ3L4PC2EU1Pseyc1TfxdJxoQMkNHjtjZ1bSCsw","nonce":64885790385160,"public_key":"ed25519:4AHsaAFYC2xdLmxHJ4jrD4dYrC1nhSTWA3aUJkGiSHwo","receiver_id":"token.sweat","signature":"ed25519:5j7b5geLDHcoEwgysZD4TfzGyj89VFuqwMPw3y3mz165zYoZcuqxMH9qPgWtZXTsgjQrMW4pKgyLd7yUMKVmFhVe","signer_id":"sweat_welcome.near"}}]},"receipt_execution_outcomes":[{"execution_outcome":{"block_hash":"9EGASj6bhqjHhCGaRG6u2BkywEBrLzTZSaoh6ECPH2Jo","id":"H9SAk6R1uuq7AzSpK9mJ29LRB7dN3MAfsppZPh9nhWqi","outcome":{"executor_id":"sweat_welcome.near","gas_burnt":223182562500,"logs":[],"metadata":{"gas_profile":[],"version":3},"receipt_ids":["429zNXLd2jR2BEETtwxaLUrQXNhQvcdshF9eb5DNf2Nu"],"status":{"SuccessValue":""},"tokens_burnt":"22318256250000000000"},"proof":[{"direction":"Right","hash":"C4WWkJcwB43B6TMA4Dq63VJ8VxNdNnx3XBkwDaXnha7n"},{"direction":"Left","hash":"E6PSDshezur3CjDBbhtTaNpKS9SRwMhoBmSVonw35zhp"},{"direction":"Right","hash":"9oPAiJ31D7s7nctzdc31aNAenpvz4Z6vHrfV1PFEn7Ts"},{"direction":"Right","hash":"7TBcTGGbdbcrbwPN8Ch7YYAYoYHevQv4xUDNapuXuqGT"}]},"receipt":{"predecessor_id":"token.sweat","receipt":{"Action":{"actions":[{"Transfer":{"deposit":"350000000000000000000"}}],"gas_price":"122987387","input_data_ids":[],"output_data_receivers":[],"signer_id":"sweat_welcome.near","signer_public_key":"ed25519:7ehQMq5CxWinuNqbigdZ7dqNPAK4ZbJUj76SQ6xo23ia"}},"receipt_id":"H9SAk6R1uuq7AzSpK9mJ29LRB7dN3MAfsppZPh9nhWqi","receiver_id":"sweat_welcome.near"}},{"execution_outcome":{"block_hash":"9EGASj6bhqjHhCGaRG6u2BkywEBrLzTZSaoh6ECPH2Jo","id":"7GAVJSFYbALYWLndUuWnFhYXzuP4gzU5ckwAdGQxL8Vv","outcome":{"executor_id":"sweat_welcome.near","gas_burnt":223182562500,"logs":[],"metadata":{"gas_profile":[],"version":3},"receipt_ids":[],"status":{"SuccessValue":""},"tokens_burnt":"0"},"proof":[{"direction":"Left","hash":"FxU1sEYundW98oLSfq1QC9hYzAA4c5CGEwevv8mBR8Ng"},{"direction":"Left","hash":"E6PSDshezur3CjDBbhtTaNpKS9SRwMhoBmSVonw35zhp"},{"direction":"Right","hash":"9oPAiJ31D7s7nctzdc31aNAenpvz4Z6vHrfV1PFEn7Ts"},{"direction":"Right","hash":"7TBcTGGbdbcrbwPN8Ch7YYAYoYHevQv4xUDNapuXuqGT"}]},"receipt":{"predecessor_id":"system","receipt":{"Action":{"actions":[{"Transfer":{"deposit":"3581491543024083600468"}}],"gas_price":"0","input_data_ids":[],"output_data_receivers":[],"signer_id":"sweat_welcome.near","signer_public_key":"ed25519:7ehQMq5CxWinuNqbigdZ7dqNPAK4ZbJUj76SQ6xo23ia"}},"receipt_id":"7GAVJSFYbALYWLndUuWnFhYXzuP4gzU5ckwAdGQxL8Vv","receiver_id":"sweat_welcome.near"}},{"execution_outcome":{"block_hash":"9EGASj6bhqjHhCGaRG6u2BkywEBrLzTZSaoh6ECPH2Jo","id":"FWBbgZDwWRhCzJSucoXrHtFLMoeq4LQrPYZshotwK7vc","outcome":{"executor_id":"sweat_welcome.near","gas_burnt":223182562500,"logs":[],"metadata":{"gas_profile":[],"version":3},"receipt_ids":["DUcr9mypKu5jadbsDZSeY27bKe1ENoAP48QvGhnr8QVs"],"status":{"SuccessValue":""},"tokens_burnt":"22318256250000000000"},"proof":[{"direction":"Right","hash":"5UAL2gfQPdJ2XTJ7KrrVjxzPJ6rYoXaH4T3eyHUdLJx9"},{"direction":"Right","hash":"4syYE6tJ6Emfc4H1f9F6yxMufyBM1aq59aWFMpemCNTE"},{"direction":"Left","hash":"HwEAbDK9bdTkdyWAazpVmhZBik8xFGU1yYWBroPYgAq4"},{"direction":"Right","hash":"7TBcTGGbdbcrbwPN8Ch7YYAYoYHevQv4xUDNapuXuqGT"}]},"receipt":{"predecessor_id":"token.sweat","receipt":{"Action":{"actions":[{"Transfer":{"deposit":"350000000000000000000"}}],"gas_price":"122987387","input_data_ids":[],"output_data_receivers":[],"signer_id":"sweat_welcome.near","signer_public_key":"ed25519:Ed2Qp2whbMphnXayJU94jdSV3KeEejn9wk54FouFxxDZ"}},"receipt_id":"FWBbgZDwWRhCzJSucoXrHtFLMoeq4LQrPYZshotwK7vc","receiver_id":"sweat_welcome.near"}},{"execution_outcome":{"block_hash":"9EGASj6bhqjHhCGaRG6u2BkywEBrLzTZSaoh6ECPH2Jo","id":"9eEhPbDep1MdfSfsoLvW4p2wC9XuBVuGoTUaUaoR7wqp","outcome":{"executor_id":"sweat_welcome.near","gas_burnt":223182562500,"logs":[],"metadata":{"gas_profile":[],"version":3},"receipt_ids":[],"status":{"SuccessValue":""},"tokens_burnt":"0"},"proof":[{"direction":"Left","hash":"8vb9biLxjtSwwpuZcdRvKCLB8MQXozqTkT9GC1yXCSxB"},{"direction":"Right","hash":"4syYE6tJ6Emfc4H1f9F6yxMufyBM1aq59aWFMpemCNTE"},{"direction":"Left","hash":"HwEAbDK9bdTkdyWAazpVmhZBik8xFGU1yYWBroPYgAq4"},{"direction":"Right","hash":"7TBcTGGbdbcrbwPN8Ch7YYAYoYHevQv4xUDNapuXuqGT"}]},"receipt":{"predecessor_id":"system","receipt":{"Action":{"actions":[{"Transfer":{"deposit":"3626309065658283600468"}}],"gas_price":"0","input_data_ids":[],"output_data_receivers":[],"signer_id":"sweat_welcome.near","signer_public_key":"ed25519:Ed2Qp2whbMphnXayJU94jdSV3KeEejn9wk54FouFxxDZ"}},"receipt_id":"9eEhPbDep1MdfSfsoLvW4p2wC9XuBVuGoTUaUaoR7wqp","receiver_id":"sweat_welcome.near"}},{"execution_outcome":{"block_hash":"9EGASj6bhqjHhCGaRG6u2BkywEBrLzTZSaoh6ECPH2Jo","id":"C4Y2iwVETV4QxvzRiC3hpWumDRYrCwi8sK6yZ2oM6smz","outcome":{"executor_id":"sweat_welcome.near","gas_burnt":223182562500,"logs":[],"metadata":{"gas_profile":[],"version":3},"receipt_ids":[],"status":{"SuccessValue":""},"tokens_burnt":"0"},"proof":[{"direction":"Right","hash":"A99jUueZu5FSfVixTV7tG86jdb8gSDfAisBcZWB5JX5v"},{"direction":"Left","hash":"HJA4GMFD1NzLJasfXpSM5BFnhA8mXGP89A5SaL6rkLEU"},{"direction":"Left","hash":"HwEAbDK9bdTkdyWAazpVmhZBik8xFGU1yYWBroPYgAq4"},{"direction":"Right","hash":"7TBcTGGbdbcrbwPN8Ch7YYAYoYHevQv4xUDNapuXuqGT"}]},"receipt":{"predecessor_id":"system","receipt":{"Action":{"actions":[{"Transfer":{"deposit":"5130383935839187500"}}],"gas_price":"0","input_data_ids":[],"output_data_receivers":[],"signer_id":"sweat_welcome.near","signer_public_key":"ed25519:3ABZWQDGe7NTdZgFWZXm5ssnGvSmnvY9ZBFA8zXAsGZm"}},"receipt_id":"C4Y2iwVETV4QxvzRiC3hpWumDRYrCwi8sK6yZ2oM6smz","receiver_id":"sweat_welcome.near"}},{"execution_outcome":{"block_hash":"9EGASj6bhqjHhCGaRG6u2BkywEBrLzTZSaoh6ECPH2Jo","id":"4TbBhk5HrKbL7m6Jvkw8R7W6hsx38cGTEqtnbysjwG9t","outcome":{"executor_id":"relay.aurora","gas_burnt":223182562500,"logs":[],"metadata":{"gas_profile":[],"version":3},"receipt_ids":[],"status":{"SuccessValue":""},"tokens_burnt":"0"},"proof":[{"direction":"Left","hash":"7vD1QQq3vtMJw4NuDW4G4tzqhaykfuXJf5oxfgj2froh"},{"direction":"Left","hash":"HJA4GMFD1NzLJasfXpSM5BFnhA8mXGP89A5SaL6rkLEU"},{"direction":"Left","hash":"HwEAbDK9bdTkdyWAazpVmhZBik8xFGU1yYWBroPYgAq4"},{"direction":"Right","hash":"7TBcTGGbdbcrbwPN8Ch7YYAYoYHevQv4xUDNapuXuqGT"}]},"receipt":{"predecessor_id":"system","receipt":{"Action":{"actions":[{"Transfer":{"deposit":"188653474442246325537704"}}],"gas_price":"0","input_data_ids":[],"output_data_receivers":[],"signer_id":"relay.aurora","signer_public_key":"ed25519:DHJZ82oYW3skfV8PJPPGQ583dcrp5Qc6aP6hJYePGWp1"}},"receipt_id":"4TbBhk5HrKbL7m6Jvkw8R7W6hsx38cGTEqtnbysjwG9t","receiver_id":"relay.aurora"}},{"execution_outcome":{"block_hash":"9EGASj6bhqjHhCGaRG6u2BkywEBrLzTZSaoh6ECPH2Jo","id":"HaT3ZccHwsEWnRJUBVuHqBetFNj2VkPpN3n3LEqsggBy","outcome":{"executor_id":"sweat_welcome.near","gas_burnt":223182562500,"logs":[],"metadata":{"gas_profile":[],"version":3},"receipt_ids":[],"status":{"SuccessValue":""},"tokens_burnt":"0"},"proof":[{"direction":"Right","hash":"6XTFHFoiSz8fcErWXHnRQbDdPsL19P8LaBwM9Txh3sUw"},{"direction":"Right","hash":"CaXbHao7W4CPgDb7kfLvP94KypgcXU5TzkEQMECr7YE2"},{"direction":"Left","hash":"CRqTMvXzUoYuQkh5VqwKBty8W8cPc8yAUbVpkWBnVxgc"}]},"receipt":{"predecessor_id":"system","receipt":{"Action":{"actions":[{"Transfer":{"deposit":"12524843062500000000"}}],"gas_price":"0","input_data_ids":[],"output_data_receivers":[],"signer_id":"sweat_welcome.near","signer_public_key":"ed25519:7ehQMq5CxWinuNqbigdZ7dqNPAK4ZbJUj76SQ6xo23ia"}},"receipt_id":"HaT3ZccHwsEWnRJUBVuHqBetFNj2VkPpN3n3LEqsggBy","receiver_id":"sweat_welcome.near"}},{"execution_outcome":{"block_hash":"9EGASj6bhqjHhCGaRG6u2BkywEBrLzTZSaoh6ECPH2Jo","id":"zGuoGbPEvvumUASBeui7VVneDh4Ft2TGaxUPj3mR2eG","outcome":{"executor_id":"token.sweat","gas_burnt":4035946129711,"logs":["EVENT_JSON:{\"standard\":\"nep141\",\"version\":\"1.0.0\",\"event\":\"ft_transfer\",\"data\":[{\"old_owner_id\":\"7e887c69ca5edd6eadfe7b87905a1c12d0ea5c8e6e6ae1a9659b74a43490d497\",\"new_owner_id\":\"reward-optin.sweat\",\"amount\":\"100000000000000000\",\"memo\":\"sw:rew:optin:YGM43xyW8P-7e887c69ca5edd6eadfe7b87905a1c12d0ea5c8e6e6ae1a9659b74a43490d497\"}]}"],"metadata":{"gas_profile":[{"cost":"BASE","cost_category":"WASM_HOST_COST","gas_used":"7413507108"},{"cost":"CONTRACT_LOADING_BASE","cost_category":"WASM_HOST_COST","gas_used":"35445963"},{"cost":"CONTRACT_LOADING_BYTES","cost_category":"WASM_HOST_COST","gas_used":"44831486250"},{"cost":"LOG_BASE","cost_category":"WASM_HOST_COST","gas_used":"3543313050"},{"cost":"LOG_BYTE","cost_category":"WASM_HOST_COST","gas_used":"4342402239"},{"cost":"READ_CACHED_TRIE_NODE","cost_category":"WASM_HOST_COST","gas_used":"275880000000"},{"cost":"READ_MEMORY_BASE","cost_category":"WASM_HOST_COST","gas_used":"36538084800"},{"cost":"READ_MEMORY_BYTE","cost_category":"WASM_HOST_COST","gas_used":"2816787753"},{"cost":"READ_REGISTER_BASE","cost_category":"WASM_HOST_COST","gas_used":"27688817046"},{"cost":"READ_REGISTER_BYTE","cost_category":"WASM_HOST_COST","gas_used":"48295380"},{"cost":"SHA256_BASE","cost_category":"WASM_HOST_COST","gas_used":"18163881000"},{"cost":"SHA256_BYTE","cost_category":"WASM_HOST_COST","gas_used":"3955245564"},{"cost":"STORAGE_READ_BASE","cost_category":"WASM_HOST_COST","gas_used":"169070537250"},{"cost":"STORAGE_READ_KEY_BYTE","cost_category":"WASM_HOST_COST","gas_used":"2259534909"},{"cost":"STORAGE_READ_VALUE_BYTE","cost_category":"WASM_HOST_COST","gas_used":"572322510"},{"cost":"STORAGE_WRITE_BASE","cost_category":"WASM_HOST_COST","gas_used":"192590208000"},{"cost":"STORAGE_WRITE_EVICTED_BYTE","cost_category":"WASM_HOST_COST","gas_used":"3275965314"},{"cost":"STORAGE_WRITE_KEY_BYTE","cost_category":"WASM_HOST_COST","gas_used":"5145249291"},{"cost":"STORAGE_WRITE_VALUE_BYTE","cost_category":"WASM_HOST_COST","gas_used":"3163890978"},{"cost":"TOUCHING_TRIE_NODE","cost_category":"WASM_HOST_COST","gas_used":"579670413336"},{"cost":"UTF8_DECODING_BASE","cost_category":"WASM_HOST_COST","gas_used":"3111779061"},{"cost":"UTF8_DECODING_BYTE","cost_category":"WASM_HOST_COST","gas_used":"95929977591"},{"cost":"WASM_INSTRUCTION","cost_category":"WASM_HOST_COST","gas_used":"56047784232"},{"cost":"WRITE_MEMORY_BASE","cost_category":"WASM_HOST_COST","gas_used":"33645538332"},{"cost":"WRITE_MEMORY_BYTE","cost_category":"WASM_HOST_COST","gas_used":"1378228632"},{"cost":"WRITE_REGISTER_BASE","cost_category":"WASM_HOST_COST","gas_used":"34386269832"},{"cost":"WRITE_REGISTER_BYTE","cost_category":"WASM_HOST_COST","gas_used":"2128875840"}],"version":3},"receipt_ids":["FpvAgN8LCKcGYwQ2CxxHP4XExLgNjYSUXVCZdBdrv3hY"],"status":{"SuccessValue":""},"tokens_burnt":"403594612971100000000"},"proof":[{"direction":"Left","hash":"AuAPQjLNCa1QpLnEFZts9eRJeYXjgAqJ25Cye3y4Pf9X"},{"direction":"Right","hash":"CaXbHao7W4CPgDb7kfLvP94KypgcXU5TzkEQMECr7YE2"},{"direction":"Left","hash":"CRqTMvXzUoYuQkh5VqwKBty8W8cPc8yAUbVpkWBnVxgc"}]},"receipt":{"predecessor_id":"7e887c69ca5edd6eadfe7b87905a1c12d0ea5c8e6e6ae1a9659b74a43490d497","receipt":{"Action":{"actions":[{"FunctionCall":{"args":"eyJyZWNlaXZlcl9pZCI6InJld2FyZC1vcHRpbi5zd2VhdCIsImFtb3VudCI6IjEwMDAwMDAwMDAwMDAwMDAwMCIsIm1lbW8iOiJzdzpyZXc6b3B0aW46WUdNNDN4eVc4UC03ZTg4N2M2OWNhNWVkZDZlYWRmZTdiODc5MDVhMWMxMmQwZWE1YzhlNmU2YWUxYTk2NTliNzRhNDM0OTBkNDk3In0=","deposit":"1","gas":14000000000000,"method_name":"ft_transfer"}}],"gas_price":"109272700","input_data_ids":[],"output_data_receivers":[],"signer_id":"7e887c69ca5edd6eadfe7b87905a1c12d0ea5c8e6e6ae1a9659b74a43490d497","signer_public_key":"ed25519:9Ww5a9UTdpEi1qYVFkv97E2Fvx88gqbVtnNTzCKrqvvJ"}},"receipt_id":"zGuoGbPEvvumUASBeui7VVneDh4Ft2TGaxUPj3mR2eG","receiver_id":"token.sweat"}},{"execution_outcome":{"block_hash":"9EGASj6bhqjHhCGaRG6u2BkywEBrLzTZSaoh6ECPH2Jo","id":"Fp8WoevW4UaFfeXV6341E5gcnkvREwjKByUDgvo4PdQy","outcome":{"executor_id":"token.sweat","gas_burnt":3411715482193,"logs":["EVENT_JSON:{\"standard\":\"nep141\",\"version\":\"1.0.0\",\"event\":\"ft_transfer\",\"data\":[{\"old_owner_id\":\"17f374fb3e1e293f646627b869be7f63b3586ce417947e7f13275195f96cc8af\",\"new_owner_id\":\"reward-optin.sweat\",\"amount\":\"100000000000000000\",\"memo\":\"sw:rew:optin:YGM43xyW8P-17f374fb3e1e293f646627b869be7f63b3586ce417947e7f13275195f96cc8af\"}]}"],"metadata":{"gas_profile":[{"cost":"BASE","cost_category":"WASM_HOST_COST","gas_used":"7413507108"},{"cost":"CONTRACT_LOADING_BASE","cost_category":"WASM_HOST_COST","gas_used":"35445963"},{"cost":"CONTRACT_LOADING_BYTES","cost_category":"WASM_HOST_COST","gas_used":"44831486250"},{"cost":"LOG_BASE","cost_category":"WASM_HOST_COST","gas_used":"3543313050"},{"cost":"LOG_BYTE","cost_category":"WASM_HOST_COST","gas_used":"4342402239"},{"cost":"READ_CACHED_TRIE_NODE","cost_category":"WASM_HOST_COST","gas_used":"118560000000"},{"cost":"READ_MEMORY_BASE","cost_category":"WASM_HOST_COST","gas_used":"36538084800"},{"cost":"READ_MEMORY_BYTE","cost_category":"WASM_HOST_COST","gas_used":"2816787753"},{"cost":"READ_REGISTER_BASE","cost_category":"WASM_HOST_COST","gas_used":"27688817046"},{"cost":"READ_REGISTER_BYTE","cost_category":"WASM_HOST_COST","gas_used":"48295380"},{"cost":"SHA256_BASE","cost_category":"WASM_HOST_COST","gas_used":"18163881000"},{"cost":"SHA256_BYTE","cost_category":"WASM_HOST_COST","gas_used":"3955245564"},{"cost":"STORAGE_READ_BASE","cost_category":"WASM_HOST_COST","gas_used":"169070537250"},{"cost":"STORAGE_READ_KEY_BYTE","cost_category":"WASM_HOST_COST","gas_used":"2259534909"},{"cost":"STORAGE_READ_VALUE_BYTE","cost_category":"WASM_HOST_COST","gas_used":"572322510"},{"cost":"STORAGE_WRITE_BASE","cost_category":"WASM_HOST_COST","gas_used":"192590208000"},{"cost":"STORAGE_WRITE_EVICTED_BYTE","cost_category":"WASM_HOST_COST","gas_used":"3275965314"},{"cost":"STORAGE_WRITE_KEY_BYTE","cost_category":"WASM_HOST_COST","gas_used":"5145249291"},{"cost":"STORAGE_WRITE_VALUE_BYTE","cost_category":"WASM_HOST_COST","gas_used":"3163890978"},{"cost":"TOUCHING_TRIE_NODE","cost_category":"WASM_HOST_COST","gas_used":"112713691482"},{"cost":"UTF8_DECODING_BASE","cost_category":"WASM_HOST_COST","gas_used":"3111779061"},{"cost":"UTF8_DECODING_BYTE","cost_category":"WASM_HOST_COST","gas_used":"95929977591"},{"cost":"WASM_INSTRUCTION","cost_category":"WASM_HOST_COST","gas_used":"56093858568"},{"cost":"WRITE_MEMORY_BASE","cost_category":"WASM_HOST_COST","gas_used":"33645538332"},{"cost":"WRITE_MEMORY_BYTE","cost_category":"WASM_HOST_COST","gas_used":"1378228632"},{"cost":"WRITE_REGISTER_BASE","cost_category":"WASM_HOST_COST","gas_used":"34386269832"},{"cost":"WRITE_REGISTER_BYTE","cost_category":"WASM_HOST_COST","gas_used":"2128875840"}],"version":3},"receipt_ids":["AmFPHsoaV3xNn9YAyyJDGtiFvx8n9RSunkEaUuHRignS"],"status":{"SuccessValue":""},"tokens_burnt":"341171548219300000000"},"proof":[{"direction":"Right","hash":"5DTQWcaMq1Jn5dhwQTwDamAQMLoY4jRDj7ecsV9HrE45"},{"direction":"Left","hash":"1h1E65sVAQuaJVhD769zVwG4qRUXzbZFZcweqPyWgXu"},{"direction":"Left","hash":"CRqTMvXzUoYuQkh5VqwKBty8W8cPc8yAUbVpkWBnVxgc"}]},"receipt":{"predecessor_id":"17f374fb3e1e293f646627b869be7f63b3586ce417947e7f13275195f96cc8af","receipt":{"Action":{"actions":[{"FunctionCall":{"args":"eyJyZWNlaXZlcl9pZCI6InJld2FyZC1vcHRpbi5zd2VhdCIsImFtb3VudCI6IjEwMDAwMDAwMDAwMDAwMDAwMCIsIm1lbW8iOiJzdzpyZXc6b3B0aW46WUdNNDN4eVc4UC0xN2YzNzRmYjNlMWUyOTNmNjQ2NjI3Yjg2OWJlN2Y2M2IzNTg2Y2U0MTc5NDdlN2YxMzI3NTE5NWY5NmNjOGFmIn0=","deposit":"1","gas":14000000000000,"method_name":"ft_transfer"}}],"gas_price":"109272700","input_data_ids":[],"output_data_receivers":[],"signer_id":"17f374fb3e1e293f646627b869be7f63b3586ce417947e7f13275195f96cc8af","signer_public_key":"ed25519:2cVh7bm8ibwH4VUoUJqGb1yrckq5HdFHkzHrW8inRBSn"}},"receipt_id":"Fp8WoevW4UaFfeXV6341E5gcnkvREwjKByUDgvo4PdQy","receiver_id":"token.sweat"}},{"execution_outcome":{"block_hash":"9EGASj6bhqjHhCGaRG6u2BkywEBrLzTZSaoh6ECPH2Jo","id":"616WtYRqUTBG1axECm9d2doCxdmiNqGBpGDSWGh7w6ec","outcome":{"executor_id":"sweat_welcome.near","gas_burnt":223182562500,"logs":[],"metadata":{"gas_profile":[],"version":3},"receipt_ids":[],"status":{"SuccessValue":""},"tokens_burnt":"0"},"proof":[{"direction":"Left","hash":"8tgyZPF5rRjU1wmJNVFhztMvbphcnVQ6AQV7KehthF14"},{"direction":"Left","hash":"1h1E65sVAQuaJVhD769zVwG4qRUXzbZFZcweqPyWgXu"},{"direction":"Left","hash":"CRqTMvXzUoYuQkh5VqwKBty8W8cPc8yAUbVpkWBnVxgc"}]},"receipt":{"predecessor_id":"system","receipt":{"Action":{"actions":[{"Transfer":{"deposit":"12524843062500000000"}}],"gas_price":"0","input_data_ids":[],"output_data_receivers":[],"signer_id":"sweat_welcome.near","signer_public_key":"ed25519:Ed2Qp2whbMphnXayJU94jdSV3KeEejn9wk54FouFxxDZ"}},"receipt_id":"616WtYRqUTBG1axECm9d2doCxdmiNqGBpGDSWGh7w6ec","receiver_id":"sweat_welcome.near"}}],"shard_id":3,"state_changes":[{"cause":{"tx_hash":"72krTmVBGzwqT2VyNaw7NAmybGHr9TaEFgt5r2tg3p9U","type":"transaction_processing"},"change":{"account_id":"learn.sweat","amount":"30099117542978502021678522885","code_hash":"11111111111111111111111111111111","locked":"0","storage_paid_at":0,"storage_usage":428},"type":"account_update"},{"cause":{"receipt_hash":"4TbBhk5HrKbL7m6Jvkw8R7W6hsx38cGTEqtnbysjwG9t","type":"receipt_processing"},"change":{"account_id":"relay.aurora","amount":"3510443757928215044805925599","code_hash":"11111111111111111111111111111111","locked":"0","storage_paid_at":0,"storage_usage":149094},"type":"account_update"},{"cause":{"tx_hash":"9GeEkpJ3L4PC2EU1Pseyc1TfxdJxoQMkNHjtjZ1bSCsw","type":"transaction_processing"},"change":{"account_id":"sweat_welcome.near","amount":"9595920925663625528594987164","code_hash":"11111111111111111111111111111111","locked":"0","storage_paid_at":0,"storage_usage":33978},"type":"account_update"},{"cause":{"receipt_hash":"H9SAk6R1uuq7AzSpK9mJ29LRB7dN3MAfsppZPh9nhWqi","type":"receipt_processing"},"change":{"account_id":"sweat_welcome.near","amount":"9595921275663625528594987164","code_hash":"11111111111111111111111111111111","locked":"0","storage_paid_at":0,"storage_usage":33978},"type":"account_update"},{"cause":{"receipt_hash":"7GAVJSFYbALYWLndUuWnFhYXzuP4gzU5ckwAdGQxL8Vv","type":"receipt_processing"},"change":{"account_id":"sweat_welcome.near","amount":"9595924857155168552678587632","code_hash":"11111111111111111111111111111111","locked":"0","storage_paid_at":0,"storage_usage":33978},"type":"account_update"},{"cause":{"receipt_hash":"FWBbgZDwWRhCzJSucoXrHtFLMoeq4LQrPYZshotwK7vc","type":"receipt_processing"},"change":{"account_id":"sweat_welcome.near","amount":"9595925207155168552678587632","code_hash":"11111111111111111111111111111111","locked":"0","storage_paid_at":0,"storage_usage":33978},"type":"account_update"},{"cause":{"receipt_hash":"9eEhPbDep1MdfSfsoLvW4p2wC9XuBVuGoTUaUaoR7wqp","type":"receipt_processing"},"change":{"account_id":"sweat_welcome.near","amount":"9595928833464234210962188100","code_hash":"11111111111111111111111111111111","locked":"0","storage_paid_at":0,"storage_usage":33978},"type":"account_update"},{"cause":{"receipt_hash":"C4Y2iwVETV4QxvzRiC3hpWumDRYrCwi8sK6yZ2oM6smz","type":"receipt_processing"},"change":{"account_id":"sweat_welcome.near","amount":"9595928838594618146801375600","code_hash":"11111111111111111111111111111111","locked":"0","storage_paid_at":0,"storage_usage":33978},"type":"account_update"},{"cause":{"receipt_hash":"HaT3ZccHwsEWnRJUBVuHqBetFNj2VkPpN3n3LEqsggBy","type":"receipt_processing"},"change":{"account_id":"sweat_welcome.near","amount":"9595928851119461209301375600","code_hash":"11111111111111111111111111111111","locked":"0","storage_paid_at":0,"storage_usage":33978},"type":"account_update"},{"cause":{"receipt_hash":"616WtYRqUTBG1axECm9d2doCxdmiNqGBpGDSWGh7w6ec","type":"receipt_processing"},"change":{"account_id":"sweat_welcome.near","amount":"9595928863644304271801375600","code_hash":"11111111111111111111111111111111","locked":"0","storage_paid_at":0,"storage_usage":33978},"type":"account_update"},{"cause":{"receipt_hash":"zGuoGbPEvvumUASBeui7VVneDh4Ft2TGaxUPj3mR2eG","type":"receipt_processing"},"change":{"account_id":"token.sweat","amount":"42378846351006527537475502452","code_hash":"FMy4MTxATGtfxqTg5PZfGhQpRWej9Ppbttwo7FWF13wA","locked":"0","storage_paid_at":0,"storage_usage":1750527028},"type":"account_update"},{"cause":{"receipt_hash":"zGuoGbPEvvumUASBeui7VVneDh4Ft2TGaxUPj3mR2eG","type":"action_receipt_gas_reward"},"change":{"account_id":"token.sweat","amount":"42378846399235542775275502452","code_hash":"FMy4MTxATGtfxqTg5PZfGhQpRWej9Ppbttwo7FWF13wA","locked":"0","storage_paid_at":0,"storage_usage":1750527028},"type":"account_update"},{"cause":{"receipt_hash":"Fp8WoevW4UaFfeXV6341E5gcnkvREwjKByUDgvo4PdQy","type":"receipt_processing"},"change":{"account_id":"token.sweat","amount":"42378846399235542775275502453","code_hash":"FMy4MTxATGtfxqTg5PZfGhQpRWej9Ppbttwo7FWF13wA","locked":"0","storage_paid_at":0,"storage_usage":1750527028},"type":"account_update"},{"cause":{"receipt_hash":"Fp8WoevW4UaFfeXV6341E5gcnkvREwjKByUDgvo4PdQy","type":"action_receipt_gas_reward"},"change":{"account_id":"token.sweat","amount":"42378846428737638587475502453","code_hash":"FMy4MTxATGtfxqTg5PZfGhQpRWej9Ppbttwo7FWF13wA","locked":"0","storage_paid_at":0,"storage_usage":1750527028},"type":"account_update"},{"cause":{"tx_hash":"72krTmVBGzwqT2VyNaw7NAmybGHr9TaEFgt5r2tg3p9U","type":"transaction_processing"},"change":{"access_key":{"nonce":79605023186277,"permission":"FullAccess"},"account_id":"learn.sweat","public_key":"ed25519:9wRicBBHSqTtPzooqYTmhijZcQXonJM7FjQxvh6cfKzo"},"type":"access_key_update"},{"cause":{"tx_hash":"9GeEkpJ3L4PC2EU1Pseyc1TfxdJxoQMkNHjtjZ1bSCsw","type":"transaction_processing"},"change":{"access_key":{"nonce":64885790385160,"permission":"FullAccess"},"account_id":"sweat_welcome.near","public_key":"ed25519:4AHsaAFYC2xdLmxHJ4jrD4dYrC1nhSTWA3aUJkGiSHwo"},"type":"access_key_update"},{"cause":{"receipt_hash":"zGuoGbPEvvumUASBeui7VVneDh4Ft2TGaxUPj3mR2eG","type":"receipt_processing"},"change":{"account_id":"token.sweat","key_base64":"U1RBVEU=","value_base64":"AgAAAHNpAQAAAAAAAAACAAAAc2UBAAAAdAEIAAAALnUuc3dlYXRuYQUV3fGQ1o6B6EgAAAAAWgAAAAAAAACbrJQMIAMAAA=="},"type":"data_update"},{"cause":{"receipt_hash":"Fp8WoevW4UaFfeXV6341E5gcnkvREwjKByUDgvo4PdQy","type":"receipt_processing"},"change":{"account_id":"token.sweat","key_base64":"U1RBVEU=","value_base64":"AgAAAHNpAQAAAAAAAAACAAAAc2UBAAAAdAEIAAAALnUuc3dlYXRuYQUV3fGQ1o6B6EgAAAAAWgAAAAAAAACbrJQMIAMAAA=="},"type":"data_update"},{"cause":{"receipt_hash":"Fp8WoevW4UaFfeXV6341E5gcnkvREwjKByUDgvo4PdQy","type":"receipt_processing"},"change":{"account_id":"token.sweat","key_base64":"dACglC/CpWTpUlrfXdnDq1V4xp9895dkoq1najL6P/vm/g==","value_base64":"XEcywPEmdNwAAAAAAAAAAA=="},"type":"data_update"},{"cause":{"receipt_hash":"zGuoGbPEvvumUASBeui7VVneDh4Ft2TGaxUPj3mR2eG","type":"receipt_processing"},"change":{"account_id":"token.sweat","key_base64":"dAC+WbOiDTgrGUzyuN0KcZDzu9wI324/JhwraZg/XAop3w==","value_base64":"uVN0oH5BwR4YAAAAAAAAAA=="},"type":"data_update"},{"cause":{"receipt_hash":"zGuoGbPEvvumUASBeui7VVneDh4Ft2TGaxUPj3mR2eG","type":"receipt_processing"},"change":{"account_id":"token.sweat","key_base64":"dADCUiigKPOTAl1jqrFvCFMV6YPDQuu8kGehwLHx0CgpIw==","value_base64":"AACU+U4hffxfJgIAAAAAAA=="},"type":"data_update"},{"cause":{"receipt_hash":"Fp8WoevW4UaFfeXV6341E5gcnkvREwjKByUDgvo4PdQy","type":"receipt_processing"},"change":{"account_id":"token.sweat","key_base64":"dADCUiigKPOTAl1jqrFvCFMV6YPDQuu8kGehwLHx0CgpIw==","value_base64":"AAAeV8dm4P1fJgIAAAAAAA=="},"type":"data_update"}]} \ No newline at end of file diff --git a/block-streamer/src/rules/outcomes_reducer.rs b/block-streamer/src/rules/outcomes_reducer.rs index 84d62ca11..463e57bba 100644 --- a/block-streamer/src/rules/outcomes_reducer.rs +++ b/block-streamer/src/rules/outcomes_reducer.rs @@ -118,19 +118,6 @@ mod tests { use crate::rules::outcomes_reducer::reduce_indexer_rule_matches_from_outcomes; use crate::rules::types::indexer_rule_match::{ChainId, IndexerRuleMatch}; use crate::rules::{IndexerRule, IndexerRuleKind, MatchingRule, Status}; - use near_lake_framework::near_indexer_primitives::StreamerMessage; - - fn read_local_file(path: &str) -> String { - std::fs::read_to_string(path).unwrap() - } - fn read_local_streamer_message(block_height: u64) -> StreamerMessage { - let path = format!( - "{}/blocks/{}.json", - env!("CARGO_MANIFEST_DIR"), - block_height - ); - serde_json::from_str(&read_local_file(&path)).unwrap() - } #[tokio::test] async fn match_wildcard_no_match() { @@ -144,7 +131,7 @@ mod tests { name: None, }; - let streamer_message = read_local_streamer_message(93085141); + let streamer_message = crate::test_utils::get_streamer_message(93085141); let result: Vec = reduce_indexer_rule_matches_from_outcomes( &wildcard_rule, &streamer_message, @@ -166,7 +153,7 @@ mod tests { name: None, }; - let streamer_message = read_local_streamer_message(93085141); + let streamer_message = crate::test_utils::get_streamer_message(93085141); let result: Vec = reduce_indexer_rule_matches_from_outcomes( &wildcard_rule, &streamer_message, @@ -188,7 +175,7 @@ mod tests { name: None, }; - let streamer_message = read_local_streamer_message(93085141); + let streamer_message = crate::test_utils::get_streamer_message(93085141); let result: Vec = reduce_indexer_rule_matches_from_outcomes( &wildcard_rule, &streamer_message, @@ -228,7 +215,7 @@ mod tests { name: None, }; - let streamer_message = read_local_streamer_message(93085141); + let streamer_message = crate::test_utils::get_streamer_message(93085141); let result: Vec = reduce_indexer_rule_matches_from_outcomes( &wildcard_rule, &streamer_message, @@ -250,7 +237,7 @@ mod tests { name: None, }; - let streamer_message = read_local_streamer_message(93085141); + let streamer_message = crate::test_utils::get_streamer_message(93085141); let result: Vec = reduce_indexer_rule_matches_from_outcomes( &wildcard_rule, &streamer_message, diff --git a/block-streamer/src/test_utils.rs b/block-streamer/src/test_utils.rs index 0802fb0d0..a4af388e8 100644 --- a/block-streamer/src/test_utils.rs +++ b/block-streamer/src/test_utils.rs @@ -1,7 +1,8 @@ use aws_smithy_runtime::client::http::test_util::{ReplayEvent, StaticReplayClient}; use aws_smithy_types::body::SdkBody; +use near_lake_framework::near_indexer_primitives; -fn generate_replay_events_for_block(block_height: u32) -> Vec { +fn generate_replay_events_for_block(block_height: u64) -> Vec { vec![ ReplayEvent::new( http::Request::builder() @@ -73,7 +74,7 @@ fn generate_replay_events_for_block(block_height: u32) -> Vec { } /// Responds with an invalid block - forcing `near_lake_framework` to exit -fn generate_stop_replay_event_for_block(block_height: u32) -> Vec { +fn generate_stop_replay_event_for_block(block_height: u64) -> Vec { vec![ ReplayEvent::new( http::Request::builder() @@ -100,7 +101,7 @@ fn generate_stop_replay_event_for_block(block_height: u32) -> Vec { ] } -fn generate_replay_events_for_blocks(block_heights: &[u32]) -> Vec { +fn generate_replay_events_for_blocks(block_heights: &[u64]) -> Vec { let mut events = Vec::new(); for block_height in block_heights { events.extend(generate_replay_events_for_block(*block_height)); @@ -114,7 +115,7 @@ fn generate_replay_events_for_blocks(block_heights: &[u32]) -> Vec /// Creates `S3Config` with a mock HTTP client that simulates responses from S3. `block_heights` /// will be read from the top-level `data/` directory. `near_lake_framework` verifies the order of /// blocks, therefore passed `block_heights` _must_ be in the order which they were finalized. -pub fn create_mock_lake_s3_config(block_heights: &[u32]) -> aws_sdk_s3::Config { +pub fn create_mock_lake_s3_config(block_heights: &[u64]) -> aws_sdk_s3::Config { let replay_events = generate_replay_events_for_blocks(block_heights); let replay_client = StaticReplayClient::new(replay_events); @@ -125,3 +126,50 @@ pub fn create_mock_lake_s3_config(block_heights: &[u32]) -> aws_sdk_s3::Config { .http_client(replay_client) .build() } + +pub fn get_streamer_message(block_height: u64) -> near_indexer_primitives::StreamerMessage { + let block: near_indexer_primitives::views::BlockView = serde_json::from_slice( + &std::fs::read(format!( + "{}/data/{block_height:0>12}/block.json", + env!("CARGO_MANIFEST_DIR") + )) + .unwrap(), + ) + .unwrap(); + let shards: Vec = vec![ + serde_json::from_slice( + &std::fs::read(format!( + "{}/data/{block_height:0>12}/shard_0.json", + env!("CARGO_MANIFEST_DIR") + )) + .unwrap(), + ) + .unwrap(), + serde_json::from_slice( + &std::fs::read(format!( + "{}/data/{block_height:0>12}/shard_1.json", + env!("CARGO_MANIFEST_DIR") + )) + .unwrap(), + ) + .unwrap(), + serde_json::from_slice( + &std::fs::read(format!( + "{}/data/{block_height:0>12}/shard_2.json", + env!("CARGO_MANIFEST_DIR") + )) + .unwrap(), + ) + .unwrap(), + serde_json::from_slice( + &std::fs::read(format!( + "{}/data/{block_height:0>12}/shard_3.json", + env!("CARGO_MANIFEST_DIR") + )) + .unwrap(), + ) + .unwrap(), + ]; + + near_indexer_primitives::StreamerMessage { block, shards } +}