CARVIEW |
Select Language
HTTP/2 301
date: Tue, 29 Jul 2025 09:34:56 GMT
content-type: text/html; charset=utf-8
content-length: 0
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
location: https://github.com/axone-protocol/contracts/commit/c10cf6af731e73f2967d1339bf5d4f1ed4f6cb32
cache-control: no-cache
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: origin-when-cross-origin, strict-origin-when-cross-origin
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
set-cookie: _gh_sess=5d2kkNi1wr5ReES5xpu2q7Qd1kjnEe6qjsm%2BFxwyXvSBnsCDTfspRh0XwzbcqaJLApnVifmOdeF7Kh%2FfJU67hGnC2B29wRmcQAju2cFWYQqH6QjFy5Pub%2BY4Fl%2BFG0fU8L6XVhlOVFhabi5aOHqUQ3S7wg6Zkyon40%2Bk7inqy1hah5riN7jECGvzOw%2BJSvPWnd%2FekTaEFFtTTme50aZNUW3FL9g633i44bQvoSyXhnFO9dnnS5jAYhjF%2B5%2BiOEs3J6el1mHRchvow%2BMrqvH9fg%3D%3D--LlwbZVcSYGI%2FjKKw--Z4JFrhDiU2aoNJYevLyXvA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.673368082.1753781696; Path=/; Domain=github.com; Expires=Wed, 29 Jul 2026 09:34:56 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 29 Jul 2026 09:34:56 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: D0C4:A6962:7A1B09:958824:688895C0
HTTP/2 200
date: Tue, 29 Jul 2025 09:34:57 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/axone-protocol/contracts.git
etag: W/"ba347eb68c13f3287d10efed71418008"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
x-github-request-id: D0C4:A6962:7A1B58:95886C:688895C0
feat(cognitarium): manage insert error cases · axone-protocol/contracts@c10cf6a · GitHub
Copy file name to clipboardExpand all lines: contracts/okp4-cognitarium/src/contract.rs
Copy file name to clipboardExpand all lines: contracts/okp4-cognitarium/src/state/store.rs
Copy file name to clipboardExpand all lines: contracts/okp4-cognitarium/src/state/storer.rs
Skip to content
Navigation Menu
{{ message }}
generated from okp4/template-rust
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit c10cf6a
File tree
Expand file treeCollapse file tree
3 files changed
+121
-27
lines changedFilter options
- contracts/okp4-cognitarium/src
- state
Expand file treeCollapse file tree
3 files changed
+121
-27
lines changedcontracts/okp4-cognitarium/src/contract.rs
Copy file name to clipboardExpand all lines: contracts/okp4-cognitarium/src/contract.rs+46-17Lines changed: 46 additions & 17 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
78 | 78 |
| |
79 | 79 |
| |
80 | 80 |
| |
| 81 | + | |
81 | 82 |
| |
82 | 83 |
| |
83 | 84 |
| |
| |||
125 | 126 |
| |
126 | 127 |
| |
127 | 128 |
| |
128 |
| - | |
| 129 | + | |
| 130 | + | |
129 | 131 |
| |
130 | 132 |
| |
131 | 133 |
| |
| |||
135 | 137 |
| |
136 | 138 |
| |
137 | 139 |
| |
138 |
| - | |
139 |
| - | |
140 |
| - | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
141 | 156 |
| |
142 | 157 |
| |
143 | 158 |
| |
| |||
154 | 169 |
| |
155 | 170 |
| |
156 | 171 |
| |
157 |
| - | |
158 |
| - | |
159 |
| - | |
160 |
| - | |
161 |
| - | |
162 |
| - | |
| 172 | + | |
163 | 173 |
| |
164 | 174 |
| |
165 | 175 |
| |
| |||
177 | 187 |
| |
178 | 188 |
| |
179 | 189 |
| |
180 |
| - | |
| 190 | + | |
181 | 191 |
| |
182 | 192 |
| |
183 | 193 |
| |
| |||
213 | 223 |
| |
214 | 224 |
| |
215 | 225 |
| |
216 |
| - | |
217 |
| - | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
218 | 229 |
| |
219 | 230 |
| |
220 | 231 |
| |
| |||
256 | 267 |
| |
257 | 268 |
| |
258 | 269 |
| |
259 |
| - | |
| 270 | + | |
260 | 271 |
| |
261 | 272 |
| |
262 | 273 |
| |
263 |
| - | |
| 274 | + | |
264 | 275 |
| |
265 | 276 |
| |
266 | 277 |
| |
| |||
270 | 281 |
| |
271 | 282 |
| |
272 | 283 |
| |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
273 | 301 |
| |
274 | 302 |
| |
275 | 303 |
| |
| |||
288 | 316 |
| |
289 | 317 |
| |
290 | 318 |
| |
291 |
| - | |
292 |
| - | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
293 | 322 |
| |
294 | 323 |
| |
295 | 324 |
| |
|
contracts/okp4-cognitarium/src/state/store.rs
Copy file name to clipboardExpand all lines: contracts/okp4-cognitarium/src/state/store.rs+2-1Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
63 | 63 |
| |
64 | 64 |
| |
65 | 65 |
| |
66 |
| - | |
| 66 | + | |
| 67 | + | |
67 | 68 |
|
contracts/okp4-cognitarium/src/state/storer.rs
Copy file name to clipboardExpand all lines: contracts/okp4-cognitarium/src/state/storer.rs+73-9Lines changed: 73 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
| 11 | + | |
11 | 12 |
| |
12 | 13 |
| |
13 | 14 |
| |
| |||
17 | 18 |
| |
18 | 19 |
| |
19 | 20 |
| |
| 21 | + | |
20 | 22 |
| |
21 | 23 |
| |
22 | 24 |
| |
| |||
28 | 30 |
| |
29 | 31 |
| |
30 | 32 |
| |
31 |
| - | |
| 33 | + | |
| 34 | + | |
32 | 35 |
| |
33 | 36 |
| |
34 | 37 |
| |
| |||
41 | 44 |
| |
42 | 45 |
| |
43 | 46 |
| |
44 |
| - | |
45 |
| - | |
46 |
| - | |
47 |
| - | |
| 47 | + | |
| 48 | + | |
48 | 49 |
| |
49 | 50 |
| |
50 | 51 |
| |
51 | 52 |
| |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
52 | 80 |
| |
| 81 | + | |
53 | 82 |
| |
54 | 83 |
| |
55 | 84 |
| |
| |||
71 | 100 |
| |
72 | 101 |
| |
73 | 102 |
| |
74 |
| - | |
| 103 | + | |
75 | 104 |
| |
76 | 105 |
| |
77 | 106 |
| |
| |||
127 | 156 |
| |
128 | 157 |
| |
129 | 158 |
| |
130 |
| - | |
131 |
| - | |
132 |
| - | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
133 | 162 |
| |
134 | 163 |
| |
135 | 164 |
| |
| |||
151 | 180 |
| |
152 | 181 |
| |
153 | 182 |
| |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
154 | 218 |
|
You can’t perform that action at this time.
0 commit comments