Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smart Contract deployment: Invalid transaction: FullBlock on empty block #2566

Closed
xlc opened this issue May 14, 2019 · 8 comments

Comments

@xlc
Copy link
Contributor

commented May 14, 2019

docker run -p 9944:9944 -it --rm parity/substrate:1.0.0-527459c32 --dev -l debug --ws-external

Trying to deploy a contract using polkadot apps UI. Happens when put code.

Contract size is ~7k. From log RPC payload size is ~14k. No way this is going to cause a full block.

2019-05-14 01:46:14.906 main-tokio-1 DEBUG afg  Casting precommit for round 18
2019-05-14 01:46:14.906 libp2p-0 DEBUG tokio_reactor::registration  scheduling Read for: 0
2019-05-14 01:46:14.906 main-tokio-1 DEBUG afg  Announcing block 0xa0d0…7c02 to peers which we voted on in round 18 in set 0
2019-05-14 01:46:14.907 main-tokio-1 DEBUG afg  Voter tender-amount-7945 completed round 18 in set 0. Estimate = Some(6), Finalized in round = Some(6)
2019-05-14 01:46:14.907 main-tokio-1 DEBUG afg  Voter tender-amount-7945 noting beginning of round (Round(19), SetId(0)) to network.
2019-05-14 01:46:14.907 main-tokio-1 DEBUG afg  Last round estimate has been finalized, not sending primary block hint for round 19
2019-05-14 01:46:14.907 main-tokio-1 DEBUG afg  Last round estimate has been finalized, not sending primary block hint for round 19
2019-05-14 01:46:14.908 libp2p-0 DEBUG tokio_reactor::registration  scheduling Read for: 0
2019-05-14 01:46:14.908 main-tokio-1 DEBUG afg  Last round estimate has been finalized, not sending primary block hint for round 19
2019-05-14 01:46:15.574 main-tokio-1 DEBUG afg  Last round estimate has been finalized, not sending primary block hint for round 19
2019-05-14 01:46:15.574 main-tokio-1 DEBUG afg  Finding best chain containing block 0xa0d08c68c2ecdd1eb707d6220e2e1eb98929206ac447297c5ca6b9e3fe377c02 with number limit None
2019-05-14 01:46:15.574 main-tokio-1 DEBUG afg  Casting prevote for round 19
2019-05-14 01:46:15.574 main-tokio-1 DEBUG afg  Announcing block 0xa0d0…7c02 to peers which we voted on in round 19 in set 0
2019-05-14 01:46:15.574 libp2p-0 DEBUG tokio_reactor::registration  scheduling Read for: 0
2019-05-14 01:46:15.600  DEBUG parity_ws::handler  Handler received:
<FRAME>
final: true
reserved: false false false
opcode: TEXT
length: 13943
payload length: 13939
payload: 0x7b226964223a33362c226a736f6e727063223a22322e30222c226d6574686f64223a22617574686f725f7375626d6974416e64576174636845787472696e736963222c22706172616d73223a5b2230783339366338316666643433353933633731356664643331633631313431616264303461393966643638323263383535383835346363646533396135363834653761353664613237643336366136646461313839376566326535656562376234316236336465383063633733623039376635656330303139343966386531383437636362626437353733393432663234343363613933616537613338383565303138616538393530353764626163343565653166333436613664333461353032326437663864313061303030303064303131656166376431613839366130303631373336643031303030303030303134393063363030313766303036303032376637663030363030303031376636303033376637663766303036303030303036303037376637663765376637663766376630313766363030323766376630313766363030333766376637653030363030333766376637663031376636303031376630313766363030343766376637663766303036303035376637663766376637663030303238643031303730333635366537363065363537383734356636393665373037353734356637333639376136353030303230333635366537363065363537383734356636393665373037353734356636333666373037393030303330333635366537363066363537383734356637323631366536343666366435663733363536353634303030343033363536653736313036353738373435663733363337323631373436333638356637333639376136353030303230333635366537363130363537383734356637333633373236313734363336383566363336663730373930303033303336353665373630383635373837343566363336313663366330303035303336353665373630363664363536643666373237393032303130323130303332663265303030313036303130313037303430343031303030313036303630313031303830393039303030363039303030383030303930363031303130383034303330613038306230313031303930343030303130313030303430313038303830343035303137303031303330333036303830313766303134313830383030343062303731313032303636343635373036633666373930303262303436333631366336633030333030393038303130303431303130623032326532663061653632353265646630313031303437663233303034313130366232323031323430303230303134313038366132303030313030373230303132383032306332313032303234303032343030323430323030313238303230383232303332643030303434313032343730643030343131303431303431303038323230343435306430323230303434323030333730323038323030343432303133373032303030323430323030333431303436613264303030303431303234363064303032303033323830323030343131303130303930623230303332303034333630323030323030333431303436613431303033613030303030633031306232303033323830323030323230333432303033373032303832303033343230313337303230303062323030323230303232383032303034313031366133363032303032303031323030303130303732303031323830323034323130333032343032303031323830323030323230303264303030343431303234363064303032303030343130343661343130313361303030303062323030333230303332383032303034313031366133363032303032303031343131303661323430303066306234313130343130343130306130303062323830303032343032303031323830323030306430303230303134313766333630323030323030303230303133363032303432303030323030313431303436613336303230303066306231303063303030623038303032303030323030313130313130623038303032303030323030313130313330623034303030303030306262353033303130373766323330303431333036623232303334313038366134313138366132303031343131383661323930303030333730333030323030333431303836613431313036613230303134313130366132393030303033373033303032303033343130383661343130383661323030313431303836613239303030303337303330303230303332303031323930303030333730333038323030333230303234323338383632303032343232383836343238303830383038303830383063306666303038333834323030323432313838363432383038303830383038306530336638333230303234323038383634323830383038303830663031663833383438343230303234323038383834323830383038306638306638333230303234323138383834323830383066633037383338343230303234323238383834323830666530333833323030323432333838383834383438343337303332383230303134313166366132313034323030333431323836613431303737323231303534313030323130363431303032313037303234303033343032303036343137383436306430313230303432303036366132323038323030383264303030303230303734316666303137313661323230383431666630313731323230393230303532303036366132643030303036613232303733613030303032303039323030383437323030373431666630313731323030373437373232313037323030363431376636613231303630633030306230623032343032303037343166663031373134353064303034313031323130373431313732313036303234303033343032303036343137663436306430313230303734316666303137313232303734353064303232303031323030363661323230383230303832643030303032303037366132323037336130303030323030373431666630313731323030373437323130373230303634313766366132313036306330303062306232303037343166663031373131613062323030303230303332393033303833373030303032303030343131383661323030333431303836613431313836613239303330303337303030303230303034313130366132303033343130383661343131303661323930333030333730303030323030303431303836613230303334313038366134313038366132393033303033373030303030623035303031303064303030623034303030303030306231303030303234303230303134353064303032303030323030313130303930623062633330313031303737663233303034313130366232323031323430303032343030323430313030303232303234353064303032303031343130303336303230383230303134323031333730333030323030313230303231303130323030313238303230303230303132383032303832323033366132313034343130303231303530323430303334303230303432303035366132313037323030353431303136613232303632303032346630643031323030363431303136613230303634393064303132303037343130303361303030303230303632313035306330303062306232303031343130383661323230363230303332303035366134313031366133363032303032303037343130303361303030303230303132383032303034313030323030323130303132303030343130383661323030363238303230303336303230303230303032303031323930333030333730323030306330313062323030303431303033363032303832303030343230313337303230303062323030313431313036613234303030623835303130313032376630323430323030303238303230343232303232303030323830323038323230333662323030313466306430303032343030323430323030333230303136613232303132303033343930643030323030323431303137343232303332303031323030313230303334393162323230313431303034383064303030323430303234303230303234353064303032303030323830323030323030323230303131303232323230323435306430313063303330623230303134313031313030383232303230643032306232303031343130313130306130303062313032333030306232303030323030323336303230303230303034313034366132303031333630323030306230623038303032303030323030313130313230626363303230333033376630313765303137663233303034313130366232323032323430303230303134313031323030313162323130313032343030323430303234303032343032303030343530643030323030303130316132313033323030323431303032383032653038633034333630323063323030333230303132303032343130633661313031633232303034353064303130633032306232303031323130303063303230623230303331303137323130303032343030323430303234303032343030323430323030313431633030303661323230343230303134393064303032303034616434323033383632323035343232303838613730643031323030303230303561373232303432303034323030303439316232323030343130383661323230343230303034393064303234313030323130303230303434313830383030343130313932323036343030303232303434313766343630643035323030346164343231303836323230353432323038386137306430333230303561373232303434353064303532303036616434323130383632323035343232303838613730643034323030356137323230303130316232303034323030343230303036613431303237323336303230303230303434313030333630323034323030343230303232383032306333363032303832303032323030343336303230633230303332303031323030323431306336613130316332313030306330353062343161343835303431303138303030623431626338353034313031383030306234316134383530343130313830303062343164633839303431303138303030623431393038323034313031383030306234313030323030323238303230633336303265303863303430623230303234313130366132343030323030303062303830303230303032303031313031343062643630313031303337663032343032303030343530643030323030313435306430303230303131303161316134313030323830326530386330343231303232303030343137383661323230313230303132383032303034313765373133363032303032303031313031653161323030303431303033363032303030323430303234303032343030323430323030303431376336613238303230303431376337313232303334353064303032303033326430303030343130313731306430303230303131303164303234303230303132643030303034313032373134353064303032303033323030333238303230303431303237323336303230303062323030333130316531613063303130623230303132383032303032323033343137633731323230343435306430313230303334313032373130643031323030343264303030303431303137313064303132303030323030343238303230383431376337313336303230303230303432303031343130313732333630323038306232303032323130313063303130623230303032303032333630323030306234313030323030313336303265303863303430623062326230313031376630323430323030323431303131303132323230333435306430303230303332303030323030323230303132303031323030323462316231303333316132303030323030313130313430623230303330623164303130313766303234303230303034313031313031323232303134353064303032303031343130303230303031303332316130623230303130623230303130313765303234303230303061643432303238363232303134323230383861373064303032303031613730663062343139303832303431303138303030623035303031303064303030623336303130313766303234303032343032303030323030313661323230323230303034393064303032303032343137663661323230303230303234623064303132303030323030313665306630623431633438333034313031383030306234316534383430343130313830303062303830303230303034313034313031393062313730303032343032303030343137383661323030303462306430303066306234316434383530343130313830303062616630343031303837663230303134313766366132323033343137663733323130343230303332303031346232313035323030323238303230303231303130323430303234303032343030323430303234303032343030323430303234303032343030323430303334303230303134353064303130323430303334303230303134313038366132313037323030313238303230383232303634313031373134353064303132303037323030363431376537313336303230303032343030323430323030313238303230343431376337313232303734353064303034313030323030373230303732643030303034313031373131623231303730633031306234313030323130373062323030313130316430323430323030313264303030303431303237313435306430303230303732303037323830323030343130323732333630323030306232303032323030373336303230303230303731303165316132303037323130313063303030623062323030303130313732313036303234303230303131303165323030363439306430303230303132383032303034313763373132323038323030363662323230393230303834623064303632303035306430373230303734313038366132323036323030373439306430383230303634316330303036613232306132303036343930643039323030613230303932303034373132323036346430643033323030333230303737313435306430343062323030323230303732383032303032323031333630323030306330303062306234313030306630623230303634313738366132323037323030363462306430363230303832303037366232323036323030383462306430373230303631303162323030373431303033363032303832303037343230303337303230303230303732303031323830323030343137633731333630323030303234303230303132383032303032323032343137633731323230363435306430303230303234313032373130643030323030363230303632383032303434313033373132303037373233363032303430623230303732303037323830323034343130333731323030313732333630323034323030313431303836613232303632303036323830323030343137653731333630323030323030313230303132383032303034313033373132303037373232323036333630323030323030363431303237313435306430313230303132303036343137643731333630323030323030373230303732383032303034313032373233363032303030633031306232303032323030313431303836613238303230303431376337313336303230303230303132313037306232303037323030373238303230303431303137323336303230303230303734313038366130663062343164633837303431303138303030623431663438373034313031383030306234313863383830343130313830303062343138633838303431303138303030623431613438383034313031383030306234316263383830343130313830303062376630313032376630323430323030303238303230303232303134313763373132323032343530643030323030313431303237313064303032303032323030323238303230343431303337313230303032383032303434313763373137323336303230343062303234303230303032383032303432323032343137633731323230313435306430303230303132303031323830323030343130333731323030303238303230303431376337313732333630323030323030303431303436613238303230303231303230623230303034313034366132303032343130333731333630323030323030303230303032383032303034313033373133363032303030623238303130313766303234303230303032383032303034313763373132323031323030303431303836613662323230303230303134623064303032303030306630623431633438393034313031383030306232333031303137663032343032303030323830323038323230323230303134643064303032303030323830323030323030313661306630623230303132303032313032303030306230353030313030643030306231303030303234303230303134353064303032303030323030313130303930623062306130303230303032303031323030323130313530623039303034316338386230343130313830303062323930313031376632303030323030323130313032303030323030303238303230383232303332303032366133363032303832303033323030303238303230303661323030323230303132303032313032353062313930303032343032303031323030333437306430303230303032303032323030313130333331613066306231303064303030623635303130323766323330303431313036623232303332343030323030333431303836613431303032303030323830323034323230343230303232303034323030323439316232323032323030303238303230303230303431303237323030313230303232303033323830323038323030333238303230633130323532303033323030323230303032383032303432323034323030303238303230303230303431303237323030303230303332393033303033373032303032303033343131303661323430303230303230623339303030323430303234303230303232303031343930643030323030343230303234393064303132303030323030323230303136623336303230343230303032303033323030313661333630323030306630623230303132303032313032383030306232303032323030343130323930303062303530303130306430303062303530303130306430303062303630303230303031303136306235643031303137663233303034313930303436623232303032343030323030303130326332303030343138303032366131303066323030303431393030323661323030303431383030323130333331613230303034313930303236613130303632303030343165633032366131303036323030303431393030323661323030303238303238383034313130303030323030303238303238303032323030303238303238343032313030653230303034313930303436613234303030626361303230313031376632333030343163303033366232323031323430303230303134313038366134313138366134323030333730333030323030313431303836613431313036613432303033373033303032303031343130383661343130383661343230303337303330303230303134323030333730333038323030313431323836613230303134313038366131303264323030313431613030323661323030313431303836613130326432303031343138303033366132303031343130383661343266666666666666663066313030623230303134316130303336613230303134313038366134326666666666666666306631303062323030313431323836613431646330303661323030313431613030323661343164633030313033333161323030313431663830313661323030313431383030333661343131383661323930333030333730333030323030313431663030313661323030313431383030333661343131303661323930333030333730333030323030313431653830313661323030313431383030333661343130383661323930333030333730333030323030313431383830323661323030313431613030333661343130383661323930333030333730333030323030313431393030323661323030313431613030333661343131303661323930333030333730333030323030313431393830323661323030313431613030333661343131383661323930333030333730333030323030313230303132393033383030333337303365303031323030313230303132393033613030333337303338303032323030303230303134313238366134316638303131303333323230303431303133363032666330313230303034313032333630326638303132303031343163303033366132343030306237393031303137663233303034313330366232323032323430303230303232303031343230313130306232303030343130383661343130323361303030303230303034313030333630323030323030303431323436613230303234313138366132393033303033373030303032303030343131633661323030323431313036613239303330303337303030303230303034313134366132303032343130383661323930333030333730303030323030303230303232393033303033373030306332303032323030313130333132303030343132633661323030323431333031303333316132303032343133303661323430303062643030333033303337663038376530323766323330303431633030303662323230323234303031303032303234303032343030323430313030333232303334313766366134316665666666666666303734663064303032303033313032613232303434353064303232303034343130303230303331303034323030323230303333363032303832303032323030333336303230343230303232303034333630323030306330313062343130303231303332303032343130303336303230383230303234323031333730333030343130313231303430623230303234313030313031663331303030303231303532303032343130313130316633313030303032313036323030323431303231303166333130303030323130373230303234313033313031663331303030303231303832303032343130343130316633313030303032313039323030323431303531303166333130303030323130613230303234313036313031663331303030303231306232303032343130373130316633313030303032313063323030343230303331303231323030323431313836613230303134313138366132393030303033373033303032303032343131303661323030313431313036613239303030303337303330303230303234313038366132303031343130383661323930303030333730333030323030323230303132393030303033373033303032303032343130303336303233383230303234323031333730333330323030323431333036613230303234313230313032343230303232383032333432313033323030323238303233383231303432303032323830323330323130313230303234313030333630323238323030323432303133373033323032303032343230303337303333383230303232303035323030363432303838363834323030373432313038363834323030383432313838363834323030393432323038363834323030613432323838363834323030623432333038363834323030633432333838363834343261303864303638323432653830373763333730333330323030323431323036613230303234313330366134313130313032343230303232383032323432313064323030313230303434323030323030323238303232303232306532303032323830323238343130313431303031303035316132303065323030643130323132303031323030333130323134313031343130303130306532303032343163303030366132343030306630623230303334313031313030613030306230323030306261663035303330373766303137653034376632333030343165303034366232323030323430303230303034313038366131303263323030303431383830323661313030663230303032303030323830323930303233363032633430343230303032303030323830323838303232323031333630326330303432303030343130303336303239383032303234303032343030323430303234303230303034316330303436613230303034313938303236613431303431303236343130343437306430303230303032383032393830323231303232303030343230313337303339383032323030303431613030323661323130333431303132313034343130303231303530323430303234303033343032303033323030353336303230303230303034313030336130303938303432303030343163303034366132303030343139383034366134313031313032363232303634353064303132303036343130313437306430323230303032643030393830343231303630323430323030353230303032383032396330323437306430303230303034313938303236613431303131303130323030333238303230303231303532303030323830323938303232313034306232303034323030353661323030363361303030303230303534313031366132313035306330303062306232303034343530643031323030303239303239633032323130373230303034313938303236613230303034313038366134313830303231303333316132303032343139666539633466333037343730643032323030303230303734323230383833653032626330343230303032303034333630326238303432303030343164383034366132323035343230303337303330303230303034316330303436613431313036613432303033373033303032303030343163303034366134313038366134323030333730333030323030303432303033373033633030343230303034316238303436613230303034316330303436613431323031303236343132303437306430333230303034313938303436613431303836613232303332303030343163393034366132323036323930303030333730333030323030303431393830343661343131303661323230323230303034316431303436613232303832393030303033373033303032303030343161663034366132323039323030353239303030303337303030303230303032303030323930306331303433373033393830343230303032643030633030343231306132303030343139343034366132383032303032313062323030363230303332393033303033373030303032303038323030323239303330303337303030303230303532303039323930303030333730303030323030303230306133613030633030343230303032303030323930333938303433373030633130343230303034313938303236613230303034316330303436613230306231313031303032303034323030376137313030653431303134313030313030653230303132303030323830323863303231303065323030303431653030343661323430303066306234313930383130343130313830303062343138383863303431303138303030623230303432303037613731303065343130303231303530633031306232303034323030376137313030653431303132313035306232303030343163633034366134326239383038303830633033363337303230303230303034313139333630326434303432303030343138303830303433363032633830343230303034313332343132343230303531623336303263343034323030303431623938303034343165623830303432303035316233363032633030343230303034316330303436613130313830303062373430313031376632333030343132303662323230323234303032303032323030313432666666666666666630663130306232303030343130383661343230303337303230303230303034316330386230343336303230343230303034313030333630323030323030303230303232393030303033373030313032303030343131383661323030323431303836613239303030303337303030303230303034313230366132303032343131303661323930303030333730303030323030303431323836613230303234313138366132393030303033373030303032303032343132303661323430303062326330313031376630323430323030323435306430303230303032313033303334303230303332303031336130303030323030333431303136613231303332303032343137663661323230323064303030623062323030303062333630313031376630323430323030323435306430303230303032313033303334303230303332303031326430303030336130303030323030333431303136613231303332303031343130313661323130313230303234313766366132323032306430303062306232303030306230626634306330323030343138303830303430626530306332663535373336353732373332663661366637323634363136653632363536313735363336383631366437303266353037323666366136353633373437333266363936653662326636643666363436353663326637333732363332663633366636653734373236313633373432653732373336353665363336663735366537343635373236353634323036393665373636313663363936343230363137323637373536643635366537343733323036363666373232303733363536633635363337343635363432303664363537333733363136373635363536653633366637353665373436353732363536343230363936653736363136633639363432303664363537333733363136373635323037333635366336353633373436663732303039383035303130303238303030303030613830303031303036363030303030303261303030303030303930303030303032663535373336353732373332663661366637323634363136653632363536313735363336383631366437303266326536333631373236373666326637323635363736393733373437323739326637333732363332663637363937343638373536323265363336663664326433313635363336333336333233393339363436323339363536333338333233333266373036313732363937343739326436333666363436353633326433333265333532653331326637333732363332663633366636343635363332653732373330303030333030313031303032313030303030303630303130313030363430303030303031363030303030303137303030303030303030303030303030303030303030303631373437343635366437303734323037343666323036643735366337343639373036633739323037373639373436383230366637363635373236363663366637373030303030303030303030303030303030303030303030303030303030303266353537333635373237333266366136663732363436313665363236353631373536333638363136643730326632653633363137323637366632663732363536373639373337343732373932663733373236333266363736393734363837353632326536333666366432643331363536333633333633323339333936343632333936353633333833323333326636643635366436663732373935663735366536393734373332643330326533343265333032663733373236333266366336393632326537323733653030313031303031633030303030303030303230313030363430303030303038663030303030303036303030303030303030303030303036313734373436353664373037343230373436663230363136343634323037373639373436383230366637363635373236363663366637373030303030303030326635353733363537323733326636613666373236343631366536323635363137353633363836313664373032663265363336313732363736663266373236353637363937333734373237393266373337323633326636373639373436383735363232653633366636643264333136353633363333363332333933393634363233393635363333383332333332663664363536643666373237393566373536653639373437333264333032653334326533303266373337323633326636633639363232653732373338303032303130303231303030303030303030323031303036343030303030303866303030303030303530303030303030303030303030303631373437343635366437303734323037343666323037333735363237343732363136333734323037373639373436383230366637363635373236363663366637373030303030306330303330313030316330303030303032303033303130303634303030303030326130303030303031373030303030303930303330313030323130303030303032303033303130303634303030303030336330303030303031373030303030306630303230313030323130303030303032303033303130303634303030303030333330303030303031373030303030303030303030303030363137343734363536643730373432303734366632303733373536323734373236313633373432303737363937343638323036663736363537323636366336663737303030303030303030303030303030303030303030303030303030303030326635353733363537323733326636613666373236343631366536323635363137353633363836313664373032663265363336313732363736663266373236353637363937333734373237393266373337323633326636373639373436383735363232653633366636643264333136353633363333363332333933393634363233393635363333383332333332663664363536643666373237393566373536653639373437333264333032653334326533303266373337323633326636633639363232653732373330303030303030303030303030303030303030303030303036313734373436353664373037343230373436663230366437353663373436393730366337393230373736393734363832303666373636353732363636633666373730303030303030303030303030303030303030303030303030303030303036313734373436353664373037343230373436663230363136343634323037373639373436383230366637363635373236363663366637376630303230313030323130303030303036303034303130303631303030303030316530323030303032313030303030306630303230313030323130303030303036303034303130303631303030303030316530323030303033343030303030306330303330313030316330303030303036303034303130303631303030303030323130323030303030633030303030306630303230313030323130303030303036303034303130303631303030303030323230323030303032333030303030306630303230313030323130303030303036303034303130303631303030303030323630323030303031623030303030303030303030303030303030303030303030303030303030303266353537333635373237333266366136663732363436313665363236353631373536333638363136643730326632653633363137323637366632663732363536373639373337343732373932663733373236333266363736393734363837353632326536333666366432643331363536333633333633323339333936343632333936353633333833323333326637373635363535663631366336633666363332643330326533343265333432663733373236333266366336393632326537323733303030303030663030323031303032313030303030303630303430313030363130303030303061333031303030303066303030303030303030353031303032313030303030303330303530313030363830303030303030633030303030303133303030303030303030303030303030303030303030303030303030303030363137343734363536643730373432303734366632303664373536633734363937303663373932303737363937343638323036663736363537323636366336663737303030303030303030303030303030303030303030303030303030303030326635353733363537323733326636613666373236343631366536323635363137353633363836313664373032663265363336313732363736663266373236353637363937333734373237393266373337323633326636373639373436383735363232653633366636643264333136353633363333363332333933393634363233393635363333383332333332663737363536353566363136633663366636333264333032653334326533343266373337323633326636393664373035663737363137333664333333323265373237333639366537343635373236653631366332303635373237323666373233613230363536653734363537323635363432303735366537323635363136333638363136323663363532303633366636343635303030303030303030303030303030306530303530313030313130303030303066313035303130303137303030303030656130323030303030353030303030303633363137303631363336393734373932303666373636353732363636633666373737333732363332663663363936323631366336633666363332663732363137373566373636353633326537323733323030363031303032623030303030303462303630313030313530303030303035623031303030303135303030303030363336313663366336353634323036303466373037343639366636653361336137353665373737323631373032383239363032303666366532303631323036303465366636653635363032303736363136633735363537333732363332663663363936323633366637323635326636663730373436393666366532653732373330303431653038633034306230343030303030303030225d7d

2019-05-14 01:46:15.605  DEBUG parity_ws::handler  Handler received:
<FRAME>
final: true
reserved: false false false
opcode: TEXT
length: 77
payload length: 75
payload: 0x7b226964223a33372c226a736f6e727063223a22322e30222c226d6574686f64223a2273746174655f756e73756273637269626553746f72616765222c22706172616d73223a5b31395d7d

2019-05-14 01:46:15.606  DEBUG parity_ws::handler  Handler received:
<FRAME>
final: true
reserved: false false false
opcode: TEXT
length: 77
payload length: 75
payload: 0x7b226964223a33382c226a736f6e727063223a22322e30222c226d6574686f64223a2273746174655f756e73756273637269626553746f72616765222c22706172616d73223a5b32305d7d

2019-05-14 01:46:15.606  DEBUG parity_ws::handler  Handler received:
<FRAME>
final: true
reserved: false false false
opcode: TEXT
length: 77
payload length: 75
payload: 0x7b226964223a33392c226a736f6e727063223a22322e30222c226d6574686f64223a2273746174655f756e73756273637269626553746f72616765222c22706172616d73223a5b31345d7d

2019-05-14 01:46:15.606 jsonrpc-eventloop-0 DEBUG rpc  Response: {"jsonrpc":"2.0","result":true,"id":37}.
2019-05-14 01:46:15.606 jsonrpc-eventloop-0 DEBUG rpc  Response: {"jsonrpc":"2.0","result":true,"id":38}.
2019-05-14 01:46:15.606 jsonrpc-eventloop-0 DEBUG rpc  Response: {"jsonrpc":"2.0","result":true,"id":39}.
2019-05-14 01:46:15.609 main-tokio-0 DEBUG afg  Committing: round_number = 18, target_number = 6, target_hash = 0xa0d08c68c2ecdd1eb707d6220e2e1eb98929206ac447297c5ca6b9e3fe377c02
2019-05-14 01:46:15.610 libp2p-0 DEBUG tokio_reactor::registration  scheduling Read for: 0
2019-05-14 01:46:15.717 libp2p-0 DEBUG tokio_reactor::registration  scheduling Read for: 0
2019-05-14 01:46:15.717 main-tokio-1 INFO substrate  Idle (0 peers), best: #6 (0xa0d0…7c02), finalized #6 (0xa0d0…7c02), ⬇ 0 ⬆ 0
2019-05-14 01:46:15.825 jsonrpc-eventloop-1 DEBUG txpool  [0x1e3bca3e6201c281841f8d4fd9f925c0c0f6e422ea91246d1de48d7a4b69749d] Importing to ready
2019-05-14 01:46:15.826 libp2p-0 DEBUG sync  Propagating extrinsics
2019-05-14 01:46:15.826 jsonrpc-eventloop-1 DEBUG txpool  Pool Status: Status { ready: 1, ready_bytes: 6928, future: 0, future_bytes: 0 }
2019-05-14 01:46:15.827 jsonrpc-eventloop-1 DEBUG rpc  Response: {"jsonrpc":"2.0","result":21,"id":36}.
2019-05-14 01:46:15.826 libp2p-0 DEBUG tokio_reactor::registration  scheduling Read for: 0
2019-05-14 01:46:16.005 libp2p-0 DEBUG tokio_reactor::registration  scheduling Read for: 0
2019-05-14 01:46:16.019 main-tokio-0 DEBUG aura  Starting authorship at slot 389449594; timestamp = 1557798376
2019-05-14 01:46:16.019 main-tokio-0 INFO substrate_basic_authorship::basic_authorship  Starting consensus session on top of parent 0xa0d08c68c2ecdd1eb707d6220e2e1eb98929206ac447297c5ca6b9e3fe377c02
2019-05-14 01:46:16.023 main-tokio-0 DEBUG substrate_basic_authorship::basic_authorship  Pushing 0 queued inherents.
2019-05-14 01:46:16.023 main-tokio-0 DEBUG substrate_basic_authorship::basic_authorship  Attempting to push transactions from the pool.
2019-05-14 01:46:16.039 main-tokio-0 DEBUG substrate_basic_authorship::basic_authorship  [0x1e3bca3e6201c281841f8d4fd9f925c0c0f6e422ea91246d1de48d7a4b69749d] Invalid transaction: FullBlock on empty block
2019-05-14 01:46:16.039 main-tokio-0 DEBUG txpool  Banning invalid transactions: [0x1e3bca3e6201c281841f8d4fd9f925c0c0f6e422ea91246d1de48d7a4b69749d]
2019-05-14 01:46:16.039 main-tokio-0 DEBUG txpool  [0x1e3bca3e6201c281841f8d4fd9f925c0c0f6e422ea91246d1de48d7a4b69749d] Removed as invalid:
2019-05-14 01:46:16.039 main-tokio-0 WARN transaction-pool  Extrinsic invalid: 0x1e3bca3e6201c281841f8d4fd9f925c0c0f6e422ea91246d1de48d7a4b69749d
2019-05-14 01:46:16.041 main-tokio-0 INFO substrate_basic_authorship::basic_authorship  Prepared block for proposing at 7 [hash: 0xd0b7a4d0a72ce1c36944d6444231d5b0d9343f46330c098240ebab38a7db144b; parent_hash: 0xa0d0…7c02; extrinsics: [0x043e…d19a, 0x353e…784d]]
2019-05-14 01:46:16.041 main-tokio-0 INFO substrate_consensus_aura  Pre-sealed block for proposal at 7. Hash now 0x95a9522577c77ad72776bcd91eecc42a549ca59cac80ca9bc1962c99b6df3ede, previously 0xd0b7a4d0a72ce1c36944d6444231d5b0d9343f46330c098240ebab38a7db144b.
2019-05-14 01:46:16.042 main-tokio-0 DEBUG db  DB Commit 0x95a9522577c77ad72776bcd91eecc42a549ca59cac80ca9bc1962c99b6df3ede (7), best = true
2019-05-14 01:46:16.043 main-tokio-1 DEBUG substrate_offchain  Checking offchain workers at Number(7): Ok(true)
2019-05-14 01:46:16.043 main-tokio-1 DEBUG substrate_offchain  Running offchain workers at Number(7)
2019-05-14 01:46:16.043 libp2p-0 DEBUG tokio_reactor::registration  scheduling Read for: 0
2019-05-14 01:46:16.044 main-tokio-1 INFO substrate  Imported #7 (0x95a9…3ede)
2019-05-14 01:46:16.240 main-tokio-0 DEBUG afg  Casting precommit for round 19
2019-05-14 01:46:16.241 main-tokio-0 DEBUG afg  Announcing block 0xa0d0…7c02 to peers which we voted on in round 19 in set 0
2019-05-14 01:46:16.242 libp2p-0 DEBUG tokio_reactor::registration  scheduling Read for: 0
2019-05-14 01:46:16.242 libp2p-0 DEBUG tokio_reactor::registration  scheduling Read for: 0

Happens on parity/substrate:2.0.0-6e67eff06 as well

@xlc

This comment has been minimized.

Copy link
Contributor Author

commented May 14, 2019

Using contract built by https://github.com/paritytech/ink/tree/master/examples/lang/flipper have same issue on parity/substrate:v1.0.0rc1

@thiolliere thiolliere self-assigned this May 14, 2019

@thiolliere

This comment has been minimized.

Copy link
Contributor

commented May 14, 2019

hmm it seems to work by using 527459c and ink 860048da918af7247d9ef120e4f25c16ed79df46
with flipper-pruned.wasm and Flipper.json
I'll try to reproduce on docker maybe ?

@tomusdrw

This comment has been minimized.

Copy link
Contributor

commented May 14, 2019

Seems like the block gas limit is reached?

@xlc

This comment has been minimized.

Copy link
Contributor Author

commented May 14, 2019

block gas limit full will result block full error? not sure it is an expected behavior...
I am going to build master locally and give it a try again

@xlc

This comment has been minimized.

Copy link
Contributor Author

commented May 15, 2019

Getting same error with a0931f3 built locally on macOS.
I cannot use 527459c because it is not compatible with current polkadot apps. @thiolliere can you confirm you have purge the chain? or were you not using --dev chain?

@xlc

This comment has been minimized.

Copy link
Contributor Author

commented May 15, 2019

Tried with a0931f3 and the default dev chain spec is not working due to block gas limit too low.
I increased the block gas limit and flipper now works.

@thiolliere

This comment has been minimized.

Copy link
Contributor

commented May 15, 2019

oh great, @pepyakin do you remember why this value was put, maybe we should just bump it to a more sensible value now ? though I have difficulty evaluating what a more sensible value is. Also all our gas price is pretty random value at the moment no ?

@pepyakin

This comment has been minimized.

Copy link
Contributor

commented May 15, 2019

Yes, good point. The gas prices now a bit random and we can increase the gas block limit for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.