Test Function: test_call_types()

Test the BLS12_MAP_FP_TO_G1 precompile using different call types.

Back to test_call_types().

Parametrized Test Cases

Test ID (Abbreviated) input_data expected_output call_opcode precompile_address
...fork_Prague-state_test-fp_0-call_opcode_STATICCALL- FP(x=0) PointG1(x=2718523093224377422680924513836569955862094615601650617640302534610709548675950121390173489943242206205504662709269, y=1411717398097673129936182529224644864953905593399347218631786464447277645552464825136124091127047943658180991656243) STATICCALL 16
...fork_Prague-state_test-fp_0-call_opcode_DELEGATECALL- FP(x=0) PointG1(x=2718523093224377422680924513836569955862094615601650617640302534610709548675950121390173489943242206205504662709269, y=1411717398097673129936182529224644864953905593399347218631786464447277645552464825136124091127047943658180991656243) DELEGATECALL 16
...fork_Prague-state_test-fp_0-call_opcode_CALLCODE- FP(x=0) PointG1(x=2718523093224377422680924513836569955862094615601650617640302534610709548675950121390173489943242206205504662709269, y=1411717398097673129936182529224644864953905593399347218631786464447277645552464825136124091127047943658180991656243) CALLCODE 16
...fork_Prague-blockchain_test_from_state_test-fp_0-call_opcode_STATICCALL- FP(x=0) PointG1(x=2718523093224377422680924513836569955862094615601650617640302534610709548675950121390173489943242206205504662709269, y=1411717398097673129936182529224644864953905593399347218631786464447277645552464825136124091127047943658180991656243) STATICCALL 16
...fork_Prague-blockchain_test_from_state_test-fp_0-call_opcode_DELEGATECALL- FP(x=0) PointG1(x=2718523093224377422680924513836569955862094615601650617640302534610709548675950121390173489943242206205504662709269, y=1411717398097673129936182529224644864953905593399347218631786464447277645552464825136124091127047943658180991656243) DELEGATECALL 16
...fork_Prague-blockchain_test_from_state_test-fp_0-call_opcode_CALLCODE- FP(x=0) PointG1(x=2718523093224377422680924513836569955862094615601650617640302534610709548675950121390173489943242206205504662709269, y=1411717398097673129936182529224644864953905593399347218631786464447277645552464825136124091127047943658180991656243) CALLCODE 16
...fork_Osaka-state_test-fp_0-call_opcode_STATICCALL- FP(x=0) PointG1(x=2718523093224377422680924513836569955862094615601650617640302534610709548675950121390173489943242206205504662709269, y=1411717398097673129936182529224644864953905593399347218631786464447277645552464825136124091127047943658180991656243) STATICCALL 16
...fork_Osaka-state_test-fp_0-call_opcode_DELEGATECALL- FP(x=0) PointG1(x=2718523093224377422680924513836569955862094615601650617640302534610709548675950121390173489943242206205504662709269, y=1411717398097673129936182529224644864953905593399347218631786464447277645552464825136124091127047943658180991656243) DELEGATECALL 16
...fork_Osaka-state_test-fp_0-call_opcode_CALLCODE- FP(x=0) PointG1(x=2718523093224377422680924513836569955862094615601650617640302534610709548675950121390173489943242206205504662709269, y=1411717398097673129936182529224644864953905593399347218631786464447277645552464825136124091127047943658180991656243) CALLCODE 16
...fork_Osaka-blockchain_test_from_state_test-fp_0-call_opcode_STATICCALL- FP(x=0) PointG1(x=2718523093224377422680924513836569955862094615601650617640302534610709548675950121390173489943242206205504662709269, y=1411717398097673129936182529224644864953905593399347218631786464447277645552464825136124091127047943658180991656243) STATICCALL 16
...fork_Osaka-blockchain_test_from_state_test-fp_0-call_opcode_DELEGATECALL- FP(x=0) PointG1(x=2718523093224377422680924513836569955862094615601650617640302534610709548675950121390173489943242206205504662709269, y=1411717398097673129936182529224644864953905593399347218631786464447277645552464825136124091127047943658180991656243) DELEGATECALL 16
...fork_Osaka-blockchain_test_from_state_test-fp_0-call_opcode_CALLCODE- FP(x=0) PointG1(x=2718523093224377422680924513836569955862094615601650617640302534610709548675950121390173489943242206205504662709269, y=1411717398097673129936182529224644864953905593399347218631786464447277645552464825136124091127047943658180991656243) CALLCODE 16