When deploying the contract with the command
starknet deploy --contract contract_compiled.json --network=alpha-goerli
and you run into the error
Error: ClientConnectorCertificateError: Cannot connect to host alpha4.starknet.io:443 ssl:True
(cairo_venv) (base) nonCents> make ~/dev/starknet/cairo-alt_bn128 | |
Compiling.. | |
Running.. | |
prime 3618502788666131213697322783095070105623107215331596699973092056135872020481 | |
prime 3618502788666131213697322783095070105623107215331596699973092056135872020481 | |
prime 3618502788666131213697322783095070105623107215331596699973092056135872020481 | |
/Users/dev/starknet/cairo-alt_bn128/bigint.cairo:60:5: Error at pc=0:19: | |
Value 3618502788666131213697322783095070105320111452007718569787670432089873896748, in range check builtin 12, is out of range [0, 340282366920938463463374607431768211456). | |
assert [range_check_ptr] = MAX_SUM - (res.d0 + res.d1 + res.d2) | |
^*************************************************************^ |
# @title The beginnings of Vector in Cairo | |
# @author 0xNonCents | |
# @notice Please let me know if this will save on gas compared to a @storage array | |
# MIT License | |
%builtins pedersen range_check | |
from starkware.cairo.common.alloc import alloc | |
from starkware.cairo.common.hash import hash2 | |
from starkware.cairo.common.cairo_builtins import HashBuiltin |
When deploying the contract with the command
starknet deploy --contract contract_compiled.json --network=alpha-goerli
and you run into the error
Error: ClientConnectorCertificateError: Cannot connect to host alpha4.starknet.io:443 ssl:True