@@ -95,95 +95,95 @@ BOOST_AUTO_TEST_CASE(basicGasPricer_RPC_API_Test_Frontier)
9595{
9696 u256 _expectedAsk = 16056883295 ;
9797 u256 _expectedBid = 1 ;
98- dev::test::executeGasPricerTest (" RPC_API_Test_Frontier" , 30.679 , 15.0 , " /BlockchainTests/bcGasPricerTest/RPC_API_Test.json" , TransactionPriority::Medium, _expectedAsk, _expectedBid, eth::Network::FrontierTest);
98+ dev::test::executeGasPricerTest (" RPC_API_Test_Frontier" , 30.679 , 15.0 , " /BlockchainTests/ValidBlocks /bcGasPricerTest/RPC_API_Test.json" , TransactionPriority::Medium, _expectedAsk, _expectedBid, eth::Network::FrontierTest);
9999}
100100
101101BOOST_AUTO_TEST_CASE (basicGasPricer_RPC_API_Test_Homestead)
102102{
103103 u256 _expectedAsk = 16056864311 ;
104104 u256 _expectedBid = 1 ;
105- dev::test::executeGasPricerTest (" RPC_API_Test_Homestead" , 30.679 , 15.0 , " /BlockchainTests/bcGasPricerTest/RPC_API_Test.json" , TransactionPriority::Medium, _expectedAsk, _expectedBid, eth::Network::HomesteadTest);
105+ dev::test::executeGasPricerTest (" RPC_API_Test_Homestead" , 30.679 , 15.0 , " /BlockchainTests/ValidBlocks /bcGasPricerTest/RPC_API_Test.json" , TransactionPriority::Medium, _expectedAsk, _expectedBid, eth::Network::HomesteadTest);
106106}
107107
108108BOOST_AUTO_TEST_CASE (basicGasPricer_bcValidBlockTest)
109109{
110- dev::test::executeGasPricerTest (" SimpleTx_Frontier" , 30.679 , 15.0 , " /BlockchainTests/bcValidBlockTest/SimpleTx.json" , TransactionPriority::Medium, 155632494086 , 10 );
110+ dev::test::executeGasPricerTest (" SimpleTx_Frontier" , 30.679 , 15.0 , " /BlockchainTests/ValidBlocks /bcValidBlockTest/SimpleTx.json" , TransactionPriority::Medium, 155632494086 , 10 );
111111}
112112
113113BOOST_AUTO_TEST_CASE (basicGasPricer_bcUncleTest_Frontier)
114114{
115115 u256 _expectedAsk = 155632494086 ;
116116 u256 _expectedBid = 1 ;
117- dev::test::executeGasPricerTest (" twoUncle_Frontier" , 30.679 , 15.0 , " /BlockchainTests/bcUncleTest/twoUncle.json" , TransactionPriority::Medium, _expectedAsk, _expectedBid, eth::Network::FrontierTest);
117+ dev::test::executeGasPricerTest (" twoUncle_Frontier" , 30.679 , 15.0 , " /BlockchainTests/ValidBlocks /bcUncleTest/twoUncle.json" , TransactionPriority::Medium, _expectedAsk, _expectedBid, eth::Network::FrontierTest);
118118}
119119
120120BOOST_AUTO_TEST_CASE (basicGasPricer_bcUncleTest_Homestead)
121121{
122122 u256 _expectedAsk = 155632494086 ;
123123 u256 _expectedBid = 1 ;
124- dev::test::executeGasPricerTest (" twoUncle_Homestead" , 30.679 , 15.0 , " /BlockchainTests/bcUncleTest/twoUncle.json" , TransactionPriority::Medium, _expectedAsk, _expectedBid, eth::Network::HomesteadTest);
124+ dev::test::executeGasPricerTest (" twoUncle_Homestead" , 30.679 , 15.0 , " /BlockchainTests/ValidBlocks /bcUncleTest/twoUncle.json" , TransactionPriority::Medium, _expectedAsk, _expectedBid, eth::Network::HomesteadTest);
125125}
126126
127127BOOST_AUTO_TEST_CASE (basicGasPricer_bcUncleHeaderValidity_Frontier)
128128{
129129 u256 _expectedAsk = 155632494086 ;
130130 u256 _expectedBid = 1 ;
131- dev::test::executeGasPricerTest (" correct_Frontier" , 30.679 , 15.0 , " /BlockchainTests/bcUncleHeaderValidity/correct.json" , TransactionPriority::Medium, _expectedAsk, _expectedBid, eth::Network::FrontierTest);
131+ dev::test::executeGasPricerTest (" correct_Frontier" , 30.679 , 15.0 , " /BlockchainTests/InvalidBlocks /bcUncleHeaderValidity/correct.json" , TransactionPriority::Medium, _expectedAsk, _expectedBid, eth::Network::FrontierTest);
132132}
133133
134134BOOST_AUTO_TEST_CASE (basicGasPricer_bcUncleHeaderValidity_Homestead)
135135{
136136 u256 _expectedAsk = 155633980282 ;
137137 u256 _expectedBid = 1 ;
138- dev::test::executeGasPricerTest (" correct_Homestead" , 30.679 , 15.0 , " /BlockchainTests/bcUncleHeaderValidity/correct.json" , TransactionPriority::Medium, _expectedAsk, _expectedBid, eth::Network::HomesteadTest);
138+ dev::test::executeGasPricerTest (" correct_Homestead" , 30.679 , 15.0 , " /BlockchainTests/InvalidBlocks /bcUncleHeaderValidity/correct.json" , TransactionPriority::Medium, _expectedAsk, _expectedBid, eth::Network::HomesteadTest);
139139}
140140
141141BOOST_AUTO_TEST_CASE (basicGasPricer_notxs_frontier)
142142{
143143 u256 _expectedAsk = 155632494086 ;
144144 u256 _expectedBid = 155632494086 ;
145- dev::test::executeGasPricerTest (" notxs_Frontier" , 30.679 , 15.0 , " /BlockchainTests/bcGasPricerTest/notxs.json" , TransactionPriority::Medium, _expectedAsk, _expectedBid, eth::Network::FrontierTest);
145+ dev::test::executeGasPricerTest (" notxs_Frontier" , 30.679 , 15.0 , " /BlockchainTests/ValidBlocks /bcGasPricerTest/notxs.json" , TransactionPriority::Medium, _expectedAsk, _expectedBid, eth::Network::FrontierTest);
146146}
147147
148148BOOST_AUTO_TEST_CASE (basicGasPricer_notxs_homestead)
149149{
150150 u256 _expectedAsk = 155632494086 ;
151151 u256 _expectedBid = 155632494086 ;
152- dev::test::executeGasPricerTest (" notxs_Homestead" , 30.679 , 15.0 , " /BlockchainTests/bcGasPricerTest/notxs.json" , TransactionPriority::Medium, _expectedAsk, _expectedBid, eth::Network::HomesteadTest);
152+ dev::test::executeGasPricerTest (" notxs_Homestead" , 30.679 , 15.0 , " /BlockchainTests/ValidBlocks/ bcGasPricerTest/notxs.json" , TransactionPriority::Medium, _expectedAsk, _expectedBid, eth::Network::HomesteadTest);
153153}
154154
155155BOOST_AUTO_TEST_CASE (basicGasPricer_highGasUsage_LowestPrio)
156156{
157157 u256 _expectedAsk = 15731408053 ;
158158 u256 _expectedBid = 10000000000000 ;
159- dev::test::executeGasPricerTest (" highGasUsage_Frontier" , 30.679 , 15.0 , " /BlockchainTests/bcGasPricerTest/highGasUsage.json" , TransactionPriority::Lowest, _expectedAsk, _expectedBid, eth::Network::FrontierTest);
159+ dev::test::executeGasPricerTest (" highGasUsage_Frontier" , 30.679 , 15.0 , " /BlockchainTests/ValidBlocks /bcGasPricerTest/highGasUsage.json" , TransactionPriority::Lowest, _expectedAsk, _expectedBid, eth::Network::FrontierTest);
160160}
161161
162162BOOST_AUTO_TEST_CASE (basicGasPricer_highGasUsage_LowPrio)
163163{
164164 u256 _expectedAsk = 15731408053 ;
165165 u256 _expectedBid = 15734152261884 ;
166- dev::test::executeGasPricerTest (" highGasUsage_Frontier" , 30.679 , 15.0 , " /BlockchainTests/bcGasPricerTest/highGasUsage.json" , TransactionPriority::Low, _expectedAsk, _expectedBid, eth::Network::FrontierTest);
166+ dev::test::executeGasPricerTest (" highGasUsage_Frontier" , 30.679 , 15.0 , " /BlockchainTests/ValidBlocks /bcGasPricerTest/highGasUsage.json" , TransactionPriority::Low, _expectedAsk, _expectedBid, eth::Network::FrontierTest);
167167}
168168
169169BOOST_AUTO_TEST_CASE (basicGasPricer_highGasUsage_MediumPrio)
170170{
171171 u256 _expectedAsk = 15731408053 ;
172172 u256 _expectedBid = 20000000000000 ;
173- dev::test::executeGasPricerTest (" highGasUsage_Frontier" , 30.679 , 15.0 , " /BlockchainTests/bcGasPricerTest/highGasUsage.json" , TransactionPriority::Medium, _expectedAsk, _expectedBid, eth::Network::FrontierTest);
173+ dev::test::executeGasPricerTest (" highGasUsage_Frontier" , 30.679 , 15.0 , " /BlockchainTests/ValidBlocks /bcGasPricerTest/highGasUsage.json" , TransactionPriority::Medium, _expectedAsk, _expectedBid, eth::Network::FrontierTest);
174174}
175175
176176BOOST_AUTO_TEST_CASE (basicGasPricer_highGasUsage_HighPrio)
177177{
178178 u256 _expectedAsk = 15731408053 ;
179179 u256 _expectedBid = 24265847738115 ;
180- dev::test::executeGasPricerTest (" highGasUsage_Frontier" , 30.679 , 15.0 , " /BlockchainTests/bcGasPricerTest/highGasUsage.json" , TransactionPriority::High, _expectedAsk, _expectedBid, eth::Network::FrontierTest);
180+ dev::test::executeGasPricerTest (" highGasUsage_Frontier" , 30.679 , 15.0 , " /BlockchainTests/ValidBlocks /bcGasPricerTest/highGasUsage.json" , TransactionPriority::High, _expectedAsk, _expectedBid, eth::Network::FrontierTest);
181181}
182182
183183BOOST_AUTO_TEST_CASE (basicGasPricer_highGasUsage_HighestPrio)
184184{
185185 u256 _expectedAsk = 15731408053 ;
186186 u256 _expectedBid = 30000000000000 ;
187- dev::test::executeGasPricerTest (" highGasUsage_Frontier" , 30.679 , 15.0 , " /BlockchainTests/bcGasPricerTest/highGasUsage.json" , TransactionPriority::Highest, _expectedAsk, _expectedBid, eth::Network::FrontierTest);
187+ dev::test::executeGasPricerTest (" highGasUsage_Frontier" , 30.679 , 15.0 , " /BlockchainTests/ValidBlocks /bcGasPricerTest/highGasUsage.json" , TransactionPriority::Highest, _expectedAsk, _expectedBid, eth::Network::FrontierTest);
188188}
189189BOOST_AUTO_TEST_SUITE_END ()
0 commit comments