Commit Graph

19695 Commits

Author SHA1 Message Date
Anthony Caccia
b3043fc66a add(net): change GET constant val to return an hex of its value 2023-06-15 19:25:32 +02:00
Anthony Caccia
0d6297b0b7 test(net): add test for getting a constant from smart contract with unconfirmed tip 2023-06-15 19:25:32 +02:00
Anthony Caccia
a12db5b518 test(net): add a test for getting a non existant constant from contract 2023-06-15 19:25:32 +02:00
Anthony Caccia
583138ac76 fix(net): fix way to get a constant from contract 2023-06-15 19:25:32 +02:00
Anthony Caccia
2af4aedcca fix(net): forgot to add a parser for response of constant 2023-06-15 19:25:32 +02:00
Anthony Caccia
d85b3b5652 feat(net): add test for new constant getter endpoint 2023-06-15 19:25:32 +02:00
Anthony Caccia
1630a1b2be feat(net): add match clauses to handle GET constant data response 2023-06-15 19:25:32 +02:00
Anthony Caccia
b0602c4190 feat(net): adding all match clauses for constant value HttpRequest 2023-06-15 19:25:32 +02:00
Anthony Caccia
f1d0f6661c feat(net): add a function to parse constant val request 2023-06-15 19:25:32 +02:00
Anthony Caccia
a9ab04090b feat(net): add methods in rpc for getting constant values 2023-06-15 19:25:32 +02:00
Anthony Caccia
6fcb833c68 feat(net): add boilepate structs for receing response for a constant value 2023-06-15 19:25:32 +02:00
Anthony Caccia
e74edf3588 feat(net): add a new regex for a GET for a constant val 2023-06-15 19:25:32 +02:00
pavitthrap
4946db36fa Merge pull request #3736 from stacks-network/chore/open-api-nit
update to openapi.yaml
2023-06-08 12:27:44 -04:00
pavitthrap
7a0e5726e7 Merge branch 'develop' into chore/open-api-nit 2023-06-07 11:38:55 -04:00
pavitthrap
05ba57bd47 Merge pull request #3739 from stacks-network/chore/merge-u32-max
Chore: replace u32::max_value() with u32::MAX
2023-06-07 11:33:13 -04:00
pavitthrap
6dbcab0343 Merge branch 'develop' into chore/open-api-nit 2023-06-07 11:32:02 -04:00
pavitthrap
4c0182a998 Merge pull request #3735 from BitcoinL2-Labs/refactor/replace-deprecated-num-max-value
Refactor `u32::max_value()` with `u32::MAX`
2023-06-06 12:12:42 -04:00
Acaccia
b103715beb fix: accidental copy/paste happened in the last commit 2023-06-06 15:38:00 +02:00
Acaccia
3387346211 Merge branch 'develop' into refactor/replace-deprecated-num-max-value 2023-06-06 15:03:25 +02:00
Anthony Caccia
c3457ba5bd Revert "add entry in changelog"
This reverts commit bb70dabf5d.
2023-06-06 11:49:35 +02:00
pavitthrap
b80dde40ad Merge pull request #3730 from stacks-network/chore/merge-master-develop-2.4
Chore: merge master into develop
2023-06-05 18:19:46 -04:00
Pavitthra Pandurangan
f66ff8db46 update to openapi.yaml 2023-06-05 12:58:05 -04:00
Anthony Caccia
bb70dabf5d add entry in changelog 2023-06-05 15:58:53 +02:00
Anthony Caccia
159010971f style: apply cargo fmt 2023-06-02 12:54:45 +02:00
Anthony Caccia
099767ae22 refactor(stacks-common): change all u32::max_value() to u32::MAX 2023-06-02 12:54:45 +02:00
Anthony Caccia
109b846288 refactor(clarity): change all (u32,u64)::max_value() to (u32,u64)::MAX 2023-06-02 12:54:45 +02:00
Anthony Caccia
728894b01c refactor(src): change all (u32,u64,i32)::max_value() to (u32,u64,i32)::MAX 2023-06-02 12:54:45 +02:00
wileyj
82c23c63d3 typo in changelog
remove additional `#`

Co-authored-by: Brice Dobry <brice@hiro.so>
2023-06-01 14:33:35 -07:00
pavitthrap
9b92d03a7a Merge branch 'develop' into chore/merge-master-develop-2.4 2023-06-01 15:33:07 -04:00
wileyj
686251a24d chore: add changelog entry for PR 3597 2023-06-01 08:16:37 -07:00
Pavitthra Pandurangan
d467434d7e added missing function 2023-05-31 17:10:37 -04:00
Pavitthra Pandurangan
37c9873977 remove bns test directory 2023-05-30 14:43:41 -07:00
Pavitthra Pandurangan
1b371c2a30 ran fmt 2023-05-30 16:20:51 -04:00
Pavitthra Pandurangan
02db1e68ae Merge branch 'develop' into chore/merge-master-develop-2.4 2023-05-30 16:16:22 -04:00
wileyj
a93c2867df chore: add sip-024 text 2023-05-22 18:10:33 -07:00
wileyj
cecc15c8d9 Chore - adding 2.4.0.0.0 to changelog 2023-05-22 18:10:33 -07:00
Aaron Blankstein
ff25ba6129 sanitize-gate the depth check 2023-05-22 15:23:24 -07:00
Pavitthra Pandurangan
c7b50e01ea add epoch.truncate 2023-05-22 15:23:24 -07:00
Aaron Blankstein
db22876be4 add comment to affirmation module explaining change 2023-05-22 15:23:24 -07:00
Aaron Blankstein
bfa03c7dba update mainnet 2.4 height with sip-024 value 2023-05-22 15:23:24 -07:00
Aaron Blankstein
41da4a5b58 fix: affirmation calc should skip any ops whose parent is <= first_block_height 2023-05-22 15:23:24 -07:00
Aaron Blankstein
6866680437 address PR feedback 2023-05-22 15:23:24 -07:00
Aaron Blankstein
00e6c32219 address PR feedback, enable sanitization in from-consensus-buff 2023-05-22 15:23:24 -07:00
friedger
defcaa3101 chore: improve comments 2023-05-22 15:23:24 -07:00
friedger
4c12f9b061 fix: allow change of delegation data 2023-05-22 15:23:24 -07:00
Pavitthra Pandurangan
020133443f added more test coverage for epoch 2.4 2023-05-22 15:23:24 -07:00
Aaron Blankstein
0a5af8b1c8 more sanitization unit cases 2023-05-22 15:23:24 -07:00
Aaron Blankstein
eb8b2cb752 fix pox_3 auto_unlock tests 2023-05-22 15:23:24 -07:00
Aaron Blankstein
acc2279a39 feat: implement proposed SIP-024 sanitization logic for epoch-2.4 2023-05-22 15:23:24 -07:00
Brice Dobry
c58ba79b74 chore: update testnet 2.4 activation
This puts it before the next prepare phase.
2023-05-22 15:23:24 -07:00