Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion etc/system-contracts/contracts/precompiles/Console.yul
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ object "Console" {
// CONSOLE.LOG Caller
// It prints 'val' in the node console and it works using the 'mem'+0x40 memory sector
function console_log(mem, val) -> {
let log_address := 0x000000000000000000636F6e736F6c652e6c6f67
// With zksolc 1.13.17 version, log_address must be 16 bit long
// let log_address := 0x000000000000000000636F6e736F6c652e6c6f67
let log_address := 0x000000000000000000000000000000000000f000
// load the free memory pointer
let freeMemPointer := mload(mem)
// store the function selector of log(uint256) in memory
Expand Down
2 changes: 1 addition & 1 deletion etc/system-contracts/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const systemConfig = require('./SystemConfig.json');

export default {
zksolc: {
version: '1.3.14',
version: '1.3.17',
compilerSource: 'binary',
settings: {
isSystem: true
Expand Down
2 changes: 1 addition & 1 deletion etc/system-contracts/scripts/compile-yul.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { exec as _exec, spawn as _spawn } from 'child_process';

import { getZksolcUrl, saltFromUrl } from '@matterlabs/hardhat-zksync-solc';

const COMPILER_VERSION = '1.3.14';
const COMPILER_VERSION = '1.3.17';
const IS_COMPILER_PRE_RELEASE = false;

import path from "path";
Expand Down
2 changes: 1 addition & 1 deletion etc/test-contracts/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const systemConfig = require('./SystemConfig.json');

export default {
zksolc: {
version: '1.3.14',
version: '1.3.17',
compilerSource: 'binary',
settings: {
isSystem: true
Expand Down